Juan Camilo Peña / Mbed 2 deprecated EntregaCorte1

Dependencies:   mbed

Committer:
JuanCamilo93
Date:
Tue Apr 24 05:12:26 2018 +0000
Revision:
0:c3020e504eba
Primera versi?n estable al 80

Who changed what in which revision?

UserRevisionLine numberNew contents of line
JuanCamilo93 0:c3020e504eba 1 #ifndef DRAW_H
JuanCamilo93 0:c3020e504eba 2 #define DRAW_H
JuanCamilo93 0:c3020e504eba 3
JuanCamilo93 0:c3020e504eba 4 #include "mbed.h"
JuanCamilo93 0:c3020e504eba 5
JuanCamilo93 0:c3020e504eba 6 #define MAXPOS 50 // en milimetros
JuanCamilo93 0:c3020e504eba 7 #define POSDRAW 10
JuanCamilo93 0:c3020e504eba 8
JuanCamilo93 0:c3020e504eba 9
JuanCamilo93 0:c3020e504eba 10 void init_servo();
JuanCamilo93 0:c3020e504eba 11 void draw();
JuanCamilo93 0:c3020e504eba 12 void nodraw();
JuanCamilo93 0:c3020e504eba 13 void vertex2d(uint8_t x, uint8_t y);
JuanCamilo93 0:c3020e504eba 14
JuanCamilo93 0:c3020e504eba 15 void home();
JuanCamilo93 0:c3020e504eba 16 void initdraw(float x, float y);
JuanCamilo93 0:c3020e504eba 17 void put_sstime(uint8_t vtime);
JuanCamilo93 0:c3020e504eba 18
JuanCamilo93 0:c3020e504eba 19 #endif // DRAW_H