Arduino controller full source

Analog write : A0 port
"EMERGENCY" command to trigger led, beeper
Raw x,y,z value, brain value