Difference between revisions of "Arduino"
(Created page with 'Installing Arduino IDE on OLPC OS. == 12.1.0 == Switch to the GNOME desktop. === Packages === sudo yum install -y arduino Roughly 43 MB of packages are downloaded and insta…') |
(No difference)
|
Revision as of 06:58, 25 June 2012
Installing Arduino IDE on OLPC OS.
12.1.0
Switch to the GNOME desktop.
Packages
sudo yum install -y arduino
Roughly 43 MB of packages are downloaded and installed.
Fix Access
The IDE requires that the user be a member of the lock group. See also <trac>11972</trac>. This also restarts GNOME.
sudo groupmems --group lock --add olpc && \ sudo systemctl restart prefdm.service
Choose a larger font
The default font is small.
- Applications -> Programming -> Arduino,
- File -> Preferences,
- Editor font size to 18, OK.
Testing
- start Applications -> Programming -> Arduino,
- connect Arduino board,
- choose Tools -> Board entry, e.g. Arduino Uno,
- choose Tools -> Serial Port entry, e.g. /dev/ttyACM0,
- choose File -> Examples -> Basics -> Blink,
- choose Upload to send the program to the Arduino board.