Daniel Vizcaya
/
04_RTOS_Embebidos
Entrega 3er corte - sistemas embebidos
draw.h@1:fcdb45ee95b9, 2018-05-30 (annotated)
- Committer:
- Bethory
- Date:
- Wed May 30 04:46:28 2018 +0000
- Revision:
- 1:fcdb45ee95b9
- Parent:
- 0:6ad07c9019fd
Entrega Final
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Bethory | 0:6ad07c9019fd | 1 | #ifndef DRAW_H |
Bethory | 0:6ad07c9019fd | 2 | #define DRAW_H |
Bethory | 0:6ad07c9019fd | 3 | |
Bethory | 0:6ad07c9019fd | 4 | #include "mbed.h" |
Bethory | 0:6ad07c9019fd | 5 | |
Bethory | 0:6ad07c9019fd | 6 | #define MAXPOS 50 // en milimetros |
Bethory | 0:6ad07c9019fd | 7 | #define POSDRAW 10 |
Bethory | 0:6ad07c9019fd | 8 | |
Bethory | 0:6ad07c9019fd | 9 | |
Bethory | 0:6ad07c9019fd | 10 | void init_servo(); |
Bethory | 0:6ad07c9019fd | 11 | void draw(); |
Bethory | 0:6ad07c9019fd | 12 | void nodraw(); |
Bethory | 0:6ad07c9019fd | 13 | void vertex2d(uint8_t x, uint8_t y); |
Bethory | 0:6ad07c9019fd | 14 | |
Bethory | 0:6ad07c9019fd | 15 | void home(); |
Bethory | 0:6ad07c9019fd | 16 | void initdraw(float x, float y); |
Bethory | 0:6ad07c9019fd | 17 | void put_sstime(uint8_t vtime); |
Bethory | 0:6ad07c9019fd | 18 | |
Bethory | 0:6ad07c9019fd | 19 | #endif // DRAW_H |