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.
Diff: draw.h
- Revision:
- 0:cc4ffe9bb764
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/draw.h Tue Mar 13 22:47:00 2018 +0000 @@ -0,0 +1,20 @@ +#ifndef DRAW_H +#define DRAW_H + +#include "mbed.h" + +#define MAXPOS 50 // en milimetros posicion maxima +#define POSDRAW 30 // en milimetro posicion minima + +// funciones + +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