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.
draw.h@0:3cb0bc1eb7fa, 2016-05-09 (annotated)
- Committer:
- dujardin
- Date:
- Mon May 09 12:49:08 2016 +0000
- Revision:
- 0:3cb0bc1eb7fa
- Child:
- 1:95a7e179a181
version TR ?tudiants de S2
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| dujardin | 0:3cb0bc1eb7fa | 1 | |
| dujardin | 0:3cb0bc1eb7fa | 2 | // ici zone declaration variables |
| dujardin | 0:3cb0bc1eb7fa | 3 | // le nom des variables doit commencer par un a atiti |
| dujardin | 0:3cb0bc1eb7fa | 4 | int atiti = 5; |
| dujardin | 0:3cb0bc1eb7fa | 5 | |
| dujardin | 0:3cb0bc1eb7fa | 6 | |
| dujardin | 0:3cb0bc1eb7fa | 7 | void draw() // a faire en TR |
| dujardin | 0:3cb0bc1eb7fa | 8 | { |
| dujardin | 0:3cb0bc1eb7fa | 9 | pix(atiti,1,0,0,5); |
| dujardin | 0:3cb0bc1eb7fa | 10 | // a faire |
| dujardin | 0:3cb0bc1eb7fa | 11 | for ( int tt = 0 ; tt < 32 ; tt++) |
| dujardin | 0:3cb0bc1eb7fa | 12 | { |
| dujardin | 0:3cb0bc1eb7fa | 13 | pix ( atiti, tt ; 0,5,0 ); |
| dujardin | 0:3cb0bc1eb7fa | 14 | } |
| dujardin | 0:3cb0bc1eb7fa | 15 | } |