From b96af395b9af2ff9df94b3e82213171f30827c8d Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 5 May 2015 21:17:24 -0700 Subject: 1276 - make C++ version the default I've tried to update the Readme, but there are at least a couple of issues. --- display.mu | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 display.mu (limited to 'display.mu') diff --git a/display.mu b/display.mu new file mode 100644 index 00000000..5d2cb17d --- /dev/null +++ b/display.mu @@ -0,0 +1,23 @@ +# example of raw primitives operating on display +recipe main [ + switch-to-display + print-character-to-display 97:literal + 1:integer/raw, 2:integer/raw <- cursor-position-on-display + wait-for-key-from-keyboard + clear-display + move-cursor-on-display 0:literal, 4:literal + print-character-to-display 98:literal + wait-for-key-from-keyboard + move-cursor-on-display 0:literal, 0:literal + clear-line-on-display + wait-for-key-from-keyboard + move-cursor-down-on-display + wait-for-key-from-keyboard + move-cursor-right-on-display + wait-for-key-from-keyboard + move-cursor-left-on-display + wait-for-key-from-keyboard + move-cursor-up-on-display + wait-for-key-from-keyboard + return-to-console +] -- cgit 1.4.1-2-gfad0