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:
- 7:f064ae670553
- Parent:
- 6:a1a85f2bc04b
- Child:
- 8:b634ac9c92f8
--- a/demo.cpp Mon Sep 12 11:25:37 2016 +0000 +++ b/demo.cpp Mon Sep 12 11:33:12 2016 +0000 @@ -15,7 +15,7 @@ puts("This is the Graphics functions demo"); wait_ms(LONG_WAIT); cls(); - +/* puts("\nLets change all the "); textFgColor(Purple); puts("PURPLE"); @@ -26,7 +26,8 @@ changeColor(Purple, Yellow); wait_ms(LONG_WAIT); cls(); - +*/ +/* puts("Lets draw some shapes:"); wait_ms(SHORT_WAIT); drawCircle(100, 100, 20, Aqua); @@ -56,7 +57,7 @@ drawFilledTriangle(260, 50, 300, 90, 240, 120, Yellow); wait_ms(SHORT_WAIT); cls(); - +*/ /* // somehow after this function display stops (but the calculation is right) puts("Lets calculate distance from point 0,0 on angle 40, 60 pixels away:"); @@ -80,6 +81,10 @@ wait_ms(LONG_WAIT); cls(); + puts("Lets move origin point:"); + wait_ms(LONG_WAIT); + moveOrigin(100, 100); + puts("This is the new origin!"); }