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:c3020e504eba, 2018-04-24 (annotated)
- Committer:
- JuanCamilo93
- Date:
- Tue Apr 24 05:12:26 2018 +0000
- Revision:
- 0:c3020e504eba
Primera versi?n estable al 80
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| JuanCamilo93 | 0:c3020e504eba | 1 | #ifndef DRAW_H |
| JuanCamilo93 | 0:c3020e504eba | 2 | #define DRAW_H |
| JuanCamilo93 | 0:c3020e504eba | 3 | |
| JuanCamilo93 | 0:c3020e504eba | 4 | #include "mbed.h" |
| JuanCamilo93 | 0:c3020e504eba | 5 | |
| JuanCamilo93 | 0:c3020e504eba | 6 | #define MAXPOS 50 // en milimetros |
| JuanCamilo93 | 0:c3020e504eba | 7 | #define POSDRAW 10 |
| JuanCamilo93 | 0:c3020e504eba | 8 | |
| JuanCamilo93 | 0:c3020e504eba | 9 | |
| JuanCamilo93 | 0:c3020e504eba | 10 | void init_servo(); |
| JuanCamilo93 | 0:c3020e504eba | 11 | void draw(); |
| JuanCamilo93 | 0:c3020e504eba | 12 | void nodraw(); |
| JuanCamilo93 | 0:c3020e504eba | 13 | void vertex2d(uint8_t x, uint8_t y); |
| JuanCamilo93 | 0:c3020e504eba | 14 | |
| JuanCamilo93 | 0:c3020e504eba | 15 | void home(); |
| JuanCamilo93 | 0:c3020e504eba | 16 | void initdraw(float x, float y); |
| JuanCamilo93 | 0:c3020e504eba | 17 | void put_sstime(uint8_t vtime); |
| JuanCamilo93 | 0:c3020e504eba | 18 | |
| JuanCamilo93 | 0:c3020e504eba | 19 | #endif // DRAW_H |