Ult
Featured
Urt
Ll Lr

Ult
Log in
Urt
Ll Lr


Ult
Illuminato - Version: 243
Urt

Click here to download the Illuminato function reference card



Here are the Gerber files for the Illuminato board


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)

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)







Edit History
Ll Lr


Get in touch if you have any questions, or ideas for something you want me to build.