![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
pausa
Fork of primercorte by
draw.h@5:9187685429b3, 2018-06-06 (annotated)
- Committer:
- nicolasrojas
- Date:
- Wed Jun 06 18:31:04 2018 +0000
- Revision:
- 5:9187685429b3
- Parent:
- 1:6ed951d975cc
pausa
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ANTONIO_VARGAS | 0:0119b611fc51 | 1 | #ifndef DRAW_H |
ANTONIO_VARGAS | 0:0119b611fc51 | 2 | #define DRAW_H |
ANTONIO_VARGAS | 0:0119b611fc51 | 3 | |
ANTONIO_VARGAS | 0:0119b611fc51 | 4 | #include "mbed.h" |
ANTONIO_VARGAS | 0:0119b611fc51 | 5 | |
ANTONIO_VARGAS | 1:6ed951d975cc | 6 | #define MAXPOS 50 // mm |
ANTONIO_VARGAS | 0:0119b611fc51 | 7 | #define POSDRAW 50 |
ANTONIO_VARGAS | 0:0119b611fc51 | 8 | #define POSNODRAW 10 |
ANTONIO_VARGAS | 0:0119b611fc51 | 9 | |
ANTONIO_VARGAS | 0:0119b611fc51 | 10 | |
ANTONIO_VARGAS | 0:0119b611fc51 | 11 | void init_servo(); |
ANTONIO_VARGAS | 0:0119b611fc51 | 12 | void draw(); |
ANTONIO_VARGAS | 0:0119b611fc51 | 13 | void nodraw(); |
ANTONIO_VARGAS | 0:0119b611fc51 | 14 | void vertex2d(uint8_t x, uint8_t y); |
ANTONIO_VARGAS | 0:0119b611fc51 | 15 | |
ANTONIO_VARGAS | 0:0119b611fc51 | 16 | void home(); |
ANTONIO_VARGAS | 0:0119b611fc51 | 17 | void initdraw(float x, float y); |
ANTONIO_VARGAS | 0:0119b611fc51 | 18 | void put_sstime(uint8_t vtime); |
ANTONIO_VARGAS | 0:0119b611fc51 | 19 | |
ANTONIO_VARGAS | 0:0119b611fc51 | 20 | #endif // DRAW_H |
ANTONIO_VARGAS | 0:0119b611fc51 | 21 |