Installing LithneDuino

Before you can use the Lithne board, you need to install a customized Arduino Environment; LithneDuino. Currently a Windows Arduino Lithne IDE and a Mac Arduino Lithne IDE exist. When you have extracted the folder on your hard disk you should install the Lithne drivers that can be found in LithneDuino\drivers, after that you can use the Lithne as a regular Arduino.

Unfortunately we currently can’t offer Linux support for the Lithne boards. However, we are always looking for volunteers to expand our framework. Please head over to our Contribute page for more information.

Download Lithne IDE v1.1 for Windows Download Lithne v1.1 IDE for Mac


Simple Upload via USB

The simplest example for programming the Lithne is probably the Blink example, which is also commonly used for the regular Arduino. Just like the Arduino, the Lithne features a LED which can be addressed and controlled in the LithneDuino IDE. It can be addressed by using either LED_BUILTIN or by using the port number which is 41.

  Turns on an LED on for one second, then off for one second, repeatedly.
  This example code is in the public domain.
// The LED underneath the XBee can be addressed in the Arduino IDE by using LED_BUILTIN or 41.
// give it a name:
int led = LED_BUILTIN;
// the setup routine runs once when you press reset:
void setup() {                
  // initialize the digital pin as an output.
  pinMode(led, OUTPUT);     
// the loop routine runs over and over again forever:
void loop() {
  digitalWrite(led, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);               // wait for a second
  digitalWrite(led, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second