Skip to content
Snippets Groups Projects
Verified Commit faecddd8 authored by ja3-saxby's avatar ja3-saxby
Browse files

Add simple image debug test

parent 0be11d68
No related branches found
No related tags found
No related merge requests found
...@@ -179,6 +179,14 @@ int main() { ...@@ -179,6 +179,14 @@ int main() {
UBIT.display.scroll("BLOCKS!"); UBIT.display.scroll("BLOCKS!");
// XXX: simple debug test to check my FLASH images were stored correctly
while (true) {
// display new random blocks each second
Block block;
UBIT.display.print(block.image(), 1, 1);
UBIT.sleep(1000); // 1000ms or 1s sleep
}
// TODO: potentially remove this call, if clarified that it is not required. // TODO: potentially remove this call, if clarified that it is not required.
// If main exits, there may still be other fibers running or registered event handlers etc. // If main exits, there may still be other fibers running or registered event handlers etc.
// Simply release this fiber, which will mean we enter the scheduler. Worse case, we then // Simply release this fiber, which will mean we enter the scheduler. Worse case, we then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment