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: draw.h
- Revision:
- 3:25e9386596c1
- Parent:
- 2:1af4d847d589
- Child:
- 4:6a1fff2aa293
--- a/draw.h Thu May 12 12:11:23 2016 +0000
+++ b/draw.h Mon May 23 11:18:35 2016 +0000
@@ -7,8 +7,8 @@
void draw() // exemple d'une chose a faire ( pas de delai dans cette boucle)
{
- pix(atiti+4,0,0,0,5); // pixel bleu en x = 5+4 et y = 1
- ptnum(15,15,atiti); // ecrit 05 en 15 15 ( centre
+ pix(15+accx,15+accy,0,0,7); // pixel bleu en x = 5+4 et y = 1
+
}
// voici les 3 fonctions utilisables