6 #include "simpletools.h" 13 print(
"LED light control\n\n");
27 for(
int n = 0; n < 6; n++)
33 for(
int n = 5; n >= 0; n--)
39 for(
int n = 0; n < 6; n++)
54 print(
"RGB light control\n\n");
81 print(
"Blue lights indicate touch pads.\n");
82 print(
"Press OSH to exit.\n\n");
100 if(states == 0b1000000)
break;
110 print(
"Tilt with accelerometer\n\n");
137 print(
"Display\n\n");
146 for(
int i = 0; i < 8; i++)
154 for(x = 0; x < 128; x++)
156 y = 64 - (x * x / 32);
#define ON
ON can be used in place of a nonzero value to enabled parameters in functions like drive_feedback and...
#define OFF
OFF can be used in place of zero to enabled parameters in functions like drive_feedback and drive_tri...