Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: demo.cpp
- Revision:
- 8:b634ac9c92f8
- Parent:
- 7:f064ae670553
- Child:
- 9:32eb75c01e9d
--- a/demo.cpp Mon Sep 12 11:33:12 2016 +0000 +++ b/demo.cpp Mon Sep 12 12:12:09 2016 +0000 @@ -67,6 +67,7 @@ wait_ms(SHORT_WAIT); cls(); */ +/* puts("Lets draw some pixels:"); wait_ms(LONG_WAIT); putPixel(15, 15, White); @@ -80,11 +81,23 @@ putPixel(35, 35, Aqua); wait_ms(LONG_WAIT); cls(); - +*/ +/* puts("Lets move origin point:"); wait_ms(LONG_WAIT); moveOrigin(100, 100); puts("This is the new origin!"); + wait_ms(LONG_WAIT); + cls(); +*/ + puts("Now draw line from here:"); + wait_ms(SHORT_WAIT); + lineTo(100, 100); + wait_ms(SHORT_WAIT); + puts("To here!"); + wait_ms(LONG_WAIT); + //cls(); + }