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:
@@ -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(' ')
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user