gantarone Posted March 28, 2014 Share Posted March 28, 2014 Hi , I would like to use the UART port of my pinapple to interface a Pololu board. 1) is it possible use the UART for other purposes that are not only firmware updates? 2)I have installed pySerial and I made a small program to check the communication to Pulolu board but I do not understand witch is the right UART: ttyATH0 or ttyS0. Here my sample code: ########################### import serial import sys ser = serial.Serial(port = "/dev/ttyATH0 ", baudrate=9600) ser.open() if ser.isOpen(): print "Serial is open!" ser.write("Hello World!") serial.close() ########################### I've put a terminal with RX and TX inverted but trought the UART does not seem to transmit anything.....() Any response or help is greatly appreciated!!! :D :D :D PS. Plololu use 5V TTL Pinapple use 3,3V TTL only Quote Link to comment Share on other sites More sharing options...
gantarone Posted March 29, 2014 Author Share Posted March 29, 2014 Please , is there anyone can give an answear to my questions? Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.