Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
python_serial [2014/10/18 00:36]
admin
python_serial [2014/10/24 15:32] (current)
admin
Line 12: Line 12:
   $ sudo apt-get install python-serial   $ sudo apt-get install python-serial
  
 +**Example**\\ 
 +  >>>​ import serial 
 +  >>>​ UART = serial.Serial("/​dev/​ttyAMA0",​ baudrate=9600) 
 +  >>>​ UART.write("​\n"​)