| Electronic Components Datasheet Search |
|
AN4127 Datasheet(PDF) 21 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4127 Datasheet(HTML) 21 Page - STMicroelectronics |
|
21 / 27 page ![]() AN4127 Getting started Doc ID 023304 Rev 1 21/27 Figure 31. Change syntax dongle1 Note: Change reply prefix. 6.2.4 GPIO and LED The SPBT2632C2A.AT2 has several pins which can be configured as GPIOs (GPIO01 to GPIO07). If GPIO function is selected, GPIO direction (input/output) and GPIO level can be chosen by means of the AT commands. GPIO must be configured for output or input using the proper command: – AT+AB GPIOConfig [GPIO Pin] I for input – AT+AB GPIOConfig [GPIO Pin] O for output Once configured, the GPIO port can be read or written with the commands: – AT+AB GPIOWrite [GPIO Pin] 1 write 1 – AT+AB GPIOWrite [GPIO Pin] 0 write 0 – AT+AB GPIORead [GPIO Pin] read On the dongle there are 2 LEDs connected to GPIOs: LED2 connected to GPIO01 and LED3 to GPIO004. Each LED can be switched on/off by driving the corresponding GPIO with the proper AT command. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |