mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
15 lines
259 B
C
15 lines
259 B
C
#define USE_MAIN
|
|
#include "uvm32_target.h"
|
|
|
|
void main(void) {
|
|
uint32_t c;
|
|
println("Press a key!");
|
|
while(c = getc()) {
|
|
if (c != 0xFFFFFFFF) {
|
|
print("Got: ");
|
|
printhex(c);
|
|
println("");
|
|
}
|
|
}
|
|
}
|
|
|