nicolas rojas
/
segundo_copy
pausa
Fork of primercorte by
Diff: draw.h
- Revision:
- 0:0119b611fc51
- Child:
- 1:6ed951d975cc
diff -r 000000000000 -r 0119b611fc51 draw.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/draw.h Wed Apr 11 02:19:13 2018 +0000 @@ -0,0 +1,21 @@ +#ifndef DRAW_H +#define DRAW_H + +#include "mbed.h" + +#define MAXPOS 50 // en milimetros +#define POSDRAW 50 +#define POSNODRAW 10 + + +void init_servo(); +void draw(); +void nodraw(); +void vertex2d(uint8_t x, uint8_t y); + +void home(); +void initdraw(float x, float y); +void put_sstime(uint8_t vtime); + +#endif // DRAW_H + \ No newline at end of file