Commit ee372858b5010dcdebb278b39c8d86bb5acd2fb7
- Diff rendering mode:
- inline
- side by side
README.arduino
(18 / 0)
  | |||
1 | Usage | ||
2 | ===== | ||
3 | |||
4 | Communication with Arduino boards is done via the Firmata[1] protocol. | ||
5 | You will need to prepare your board by using the standard Arduino IDE | ||
6 | to upload the latest Firmata code (version 2.1 is recommended). Note that | ||
7 | the version of Firmata supplied with v17 of the IDE is a bit buggy. | ||
8 | |||
9 | The board usually shows up as /dev/ttyUSBx (x is number) in a Linux system, | ||
10 | assuming that the connection is over USB-serial. Your user account needs to | ||
11 | be in the 'uucp' group to access the device. Also, the baud-rate is very | ||
12 | important for things to work. The baud-rate in the Firmata code, and the | ||
13 | rate specified in the taarduino.py file should match. | ||
14 | |||
15 | The device name is hardcoded to /dev/ttyUSB0, edit taarduino.py to use | ||
16 | something else. Patches to autodetect the correct device are most welcome :-). | ||
17 | |||
18 | [1] http://www.firmata.org |