I'm trying to make a kernel for a macro-key maker, this is the starting page's code:
char m[] = "What do you want to do? Type the following commands in this "
"terminal:\nnew --> Creates a new Keybinding\ndelete --> Deletes a "
"previous Keybind\nlookup --> Find what is bound to a key\n\nTurn off the "
"switch to go back to the normal mode.";
Serial.println(m);
Serial.println(String(takenKeybinds) + "/64 Keybinds taken.");
When I run it, the screen displays:
What do you want to do? Type the following commands in this terminal:
new --> Creates a new Keybinding
delete --> Deletes a previous Keybind
lookup --> Find what is bound to a key
Turn off the switch to go back to the normal mode.
The last line is missing. Is this a problem with object casting? takenKeybind
is an int
.