1
0
mirror of https://github.com/KarolS/millfork.git synced 2026-04-22 00:17:03 +00:00

Add readkeytest example

This commit is contained in:
Karol Stasiak
2020-03-31 18:58:19 +02:00
parent 1f626b0666
commit 353923d3bc
2 changed files with 16 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
import stdio
import keyboard
void main() {
byte c
ensure_mixedcase()
while true {
c = readkey()
putchar(c)
putchar(hi_nibble_to_hex(c))
putchar(lo_nibble_to_hex(c))
putchar(' ')
}
}