summaryrefslogtreecommitdiffstats
path: root/examples/count_up.scm
diff options
context:
space:
mode:
Diffstat (limited to 'examples/count_up.scm')
-rw-r--r--examples/count_up.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/count_up.scm b/examples/count_up.scm
new file mode 100644
index 0000000..6eb5fa0
--- /dev/null
+++ b/examples/count_up.scm
@@ -0,0 +1,6 @@
+(define (main n)
+ (c12832-cls)
+ (c12832-print '(30 . 12) (number->string n))
+ (mbed-wait-ms 500)
+ (main (+ n 1)))
+(main 0)