Simple graphics language

From ScienceZero
Revision as of 15:43, 14 April 2011 by Bjoern (Talk | contribs)

Jump to: navigation, search

A simple graphics language for microcontrollers

We start with a very simple reverse polish notation interpreter with a preprocessor stage

Sample code:

360 for 1 forward 1 right next

Commands:

setpixel
readpixel
colour
goto (x y -- )
loops
conditionals
penup
pendown