void setup() { // Generated by Acceleo !! Penser � cr�er les configurations de votre programme ! // Ceci n'est pas generee par acceleo pinMode(MOTOR, OUTPUT); pinMode(OUT3, OUTPUT); CONSOLE.begin(9600); CONSOLE.println(F("setup 0")); getRam(NULL, false); keyboard.begin(KBD_DATA, KBD_CLOCK, MyKeymap_French); pinMode(CHP, OUTPUT); pinMode(RST, OUTPUT); //pinMode(LED, OUTPUT); //ESP.begin(ESP_BAUDS); /* */ CONSOLE.println(F("setup 1")); getRam(NULL, false); init_io(); StateMachine_setup(); }
int main() { PC p; setRam(2048, &p); setSpeed(7.5, &p); printf("This computer has %d MBs of memory and a %f GHz processor!", getRam(p), getSpeed(p)); }