/elec/quadcopter

To get this branch, use:
bzr branch http://bzr.ed.am/elec/quadcopter

« back to all changes in this revision

Viewing changes to test/rc-interface/rc-interface-test

  • Committer: Tim Marston
  • Date: 2014-02-26 22:33:50 UTC
  • Revision ID: tim@ed.am-20140226223350-6618z7cy7yxchsas
rc-interface: added code to read from serial and set motor channel values

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
        MAX_CHANNEL_VALUE = 1000
20
20
 
21
21
        # serial device to use
22
 
        SERIAL_DEVICE = '/dev/ttyACM0'
 
22
        SERIAL_DEVICE = '/dev/ttyUSB0'
23
23
 
24
24
 
25
25
        def __init__( self ):