#include #include #include #include #include #include void main(void) { int key; char blah[10]; blah[1]='k'; while (1) { Bdisp_AllClr_VRAM(); GetKey(&key); PrintXY(1, 1, " testing", 1, 0); snprintf(blah, 10, " Key = %X", key); PrintXY(1, 2, blah, 1, 0); itoa(key, blah); PrintXY(1, 3, blah, 1, 0); Bdisp_PutDisp_DD(); switch (key) { } } return; }