Download Chapter 3 Board Guide
Transcript
5.1.2.3 ♦ get_gpo_status Description Get current gpo pin status. ♦ Syntax int get_gpo_status(int pin) ♦ Argument ♦ Return 1: ON 0: OFF 5.1.2.4 ♦ pin: int type, the range is 0-31. get_gpi_status Description Get current gpi pin status. ♦ Syntax int get_gpi_status(int pin) ♦ Argument ♦ Return 1: ON 0: OFF 5.1.2.5 ♦ pin: int type, the range is 0-31. set_gpo Description Set gpo pin status. ♦ Syntax void set_gpo(int pin, int value) ♦ ♦ Argument pin: int type, the range is 0-31. value: 1: ON , 0: OFF Return None 51