Illuminato_Installation – Step by step guide to setting up the Illuminato core manually in the Arduino IDE
Click here to download the Illuminato function reference card
Here are the Gerber files for the Illuminato board
Illuminato_Circuit – Click here for the Illuminato core board schematics
Illuminato_Parts – the parts you’ll need in order to build your own Illuminato from scratch
Illuminato_Sample – A demo of how to turn on the back LEDs.
Illuminato_License – The GNU GPL license the Illuminato files are released under
Illuminato “core” files for the Arduino IDE: http://www.liquidware.com/wikifiles/35 – please be careful they’re going to change a lot, and they’re not ready for use by anyone else but me right now. But lots of people are curious, so here you go…
Structure
setup( void)
loop( void)
Control
if () {} else {}
for(i=0;i<k;i++)
while( true) {}
do {} while ( true)
break
continue
return
Arithmetic
int i = 1 (assignment)
a + b (addition)
a – b (subtraction)
a * b (multiplication)
a / b (division)
a % b (modulo)
Common Data Types
int boolean char
long double float
Constants
HIGH LOW
INPUT OUTPUT
true false
Backlight
bling( ON OFF)
Comparison
== (equal to)
!= (not equal to)
< (less than)
> (greater than)
<= (less or equal)
>= (greater or equal)
Operators
&& (and)
|| (or)
! (not)
++ (increment)
—(decrement)
+= (plus equals)
-= (minus equals)
= (times equals)
/= (divided by equals)
Serial Communication*
Serial.begin( speed)
int Serial.available()
int Serial.read()
Serial.flush()
Serial.print( data)
Serial.println( data)
SoftSerial
Digital I/O (pins 0-41)
pinMode(pin, mode)
digitalWrite(pin, value)
int digitalRead(pin, value)
Analog I/O (pins A0-A5)
int analogRead(pin)
analogWrite(pin, value)
Advanced I/O (pins 0-41)
shiftOut(pin, clk pin, order, value)
Unsigned long pulseIn(pin, value)
Time
delay( ms)
unsigned long millis( ms) – not coded yet
delayMicroseconds( us) – not coded yet
Math
min(x,y) max(x,y) abs(x)
constrain(x,a,b) sq(x)
sqrt(x) pow(base, exp)
sin(rad) cos(rad) tan(rad)
randomSeed( seed)
long random( min, max)