changed the delay in the main.c to 1ms

master
MegiDervishi 3 years ago
parent 18e7769c96
commit 999e627c53

@ -10,7 +10,7 @@ int main (void)
while(1){
Prog__main_out _res;
Prog__main_step(&_res, &mem);
_delay_ms(1000);
_delay_ms(1);
}
return 0;
}

@ -14,6 +14,7 @@ let
() = lcd_string((msg, line) when upt);
() = lcd_string((" ", line) when downt);
tel
node lcd_counter (period:int; line: int) returns ()
@ -34,7 +35,13 @@ tel
node main() returns ()
let
() = button (8, 13);
var start : bool;
let
start = true fby false;
() = lcd_init() when start;
() = lcd_blink_msg ((750, 375, "hello world!", 0) when not start);
() = lcd_counter ((375, 1) when not start);
() = button((8, 13) when not start);
tel

Loading…
Cancel
Save