Skip to content

Commit

Permalink
update UART section in README
Browse files Browse the repository at this point in the history
Signed-off-by: Drew Fustini <drew@pdp7.com>
  • Loading branch information
pdp7 committed Aug 31, 2018
1 parent bf97de6 commit 8353c7c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Expand Up @@ -202,14 +202,13 @@ ser = serial.Serial(port = "/dev/ttyO1", baudrate=9600)
ser.close()
ser.open()
if ser.isOpen():
print "Serial is open!"
print "Serial is open!"
ser.write("Hello World!")
ser.close()
```
* Available UART names on BeagleBone
* `UART1`: /dev/ttyO1, Rx: P9_26, Tx: P9_24
* `UART2`: /dev/ttyO2, Rx: P9_22, Tx: P9_21
* `UART3`: /dev/ttyO3, Rx: P9_42, Tx: none
* `UART4`: /dev/ttyO4, Rx: P9_11, Tx: P9_13
* `UART5`: /dev/ttyO5, Rx: P8_38, Tx: P8_37
* note: `UART5` requires `disable_uboot_overlay_video=1` in `/boot/uEnv.txt`
Expand Down

0 comments on commit 8353c7c

Please sign in to comment.