Jump to content

gantarone

Active Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by gantarone

  1. 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!!!

    :rolleyes: :D :D :D

    PS.

    Plololu use 5V TTL

    Pinapple use 3,3V TTL only

×
×
  • Create New...