mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
18 lines
211 B
C
18 lines
211 B
C
#include "uvm32_target.h"
|
|
|
|
uint32_t count;
|
|
|
|
bool loop(void) {
|
|
printdec(count);
|
|
if (count++ >= 10) {
|
|
return false;
|
|
} else {
|
|
return true;
|
|
}
|
|
}
|
|
|
|
void setup(void) {
|
|
count = 0;
|
|
}
|
|
|
|
|