Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import serial
- import Adafruit_BBIO.UART as UART
- from time import sleep
- UART.setup("UART2")
- ser=serial.Serial("/dev/ttyS2", 9600)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement