kopia lustrzana https://github.com/pimoroni/pimoroni-pico
Similar fix to sleep example
rodzic
d26bb1701c
commit
17a1efe962
|
@ -54,6 +54,10 @@ int main() {
|
|||
badger.text("(press any button to wake up.)", 10, 70, 0.4f);
|
||||
badger.update();
|
||||
|
||||
while (badger.is_busy()) {
|
||||
sleep_ms(10);
|
||||
}
|
||||
|
||||
badger.halt();
|
||||
|
||||
// proof we halted, the LED will not turn on
|
||||
|
|
Ładowanie…
Reference in New Issue