nicolas rojas
/
segundo_copy
pausa
Fork of primercorte by
draw.h@1:6ed951d975cc, 2018-04-20 (annotated)
- Committer:
- ANTONIO_VARGAS
- Date:
- Fri Apr 20 00:56:27 2018 +0000
- Revision:
- 1:6ed951d975cc
- Parent:
- 0:0119b611fc51
hjv
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 |