Added by Jesse Zhang, last edited by Jesse Zhang on Mar 06, 2010  (view change)

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

This page is about programming the Arduino board on Foresight Linux.

Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software.

1. Some tools that is needed:

sudo conary update {avr-binutils,avr-gcc,avr-libc,avrdude,uisp,mpfr}=jesse.rpath.org@fl:2-devel

2. Download the arduino IDE from their website. Note there are different file for 32bit or 64bit system.

3.a If your Foresight is x86,
Just double-click the arduino file and start using it.

3.b If your Foresight is x86_64,
You need a pre-built RXTX library. Download it. Move rxtx-2.2pre2-bins/RXTXcomm.jar and rxtx-2.2pre2-bins/x86_64-unknown-linux-gnu/librxtxSerial.so to your <arduino-IDE-dir>/lib/.

Begin programing.