Minor issue in the wiki
arlaneenalra opened this issue · comments
The code listed to write "Hello World!" uses set-string
instead of draw-string
. In particular the line that looks like:
s" Hello, World!" my-width 2 / 7 13 * 2 / - my-height 2 / 8 2 / - my-ssd1306 a-simple-font set-string
should instead look something like:
s" Hello, World!" my-width 2 / 7 13 * 2 / - my-height 2 / 8 2 / - op-set my-ssd1306 a-simple-font draw-string
I'm not overly familiar with github wiki's or I'd offer a more direct fix ..
Thanks for the heads-up! I have now fixed the example as you mention and tested it.
Looks good to me! That confused the heck out of me until I realized set-string
wasn’t defined and went spelunking through git history.