Alyson Castiblanco
/
PARQUEADERO_VERTICAL
Codigo donde falta la comunicacion serial
draw.h@0:89b318e49395, 2018-03-17 (annotated)
- Committer:
- fabeltranm
- Date:
- Sat Mar 17 00:57:56 2018 +0000
- Revision:
- 0:89b318e49395
ok codigo
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
fabeltranm | 0:89b318e49395 | 1 | #ifndef DRAW_H |
fabeltranm | 0:89b318e49395 | 2 | #define DRAW_H |
fabeltranm | 0:89b318e49395 | 3 | |
fabeltranm | 0:89b318e49395 | 4 | #include "mbed.h" |
fabeltranm | 0:89b318e49395 | 5 | |
fabeltranm | 0:89b318e49395 | 6 | #define MAXPOS 50 // en milimetros |
fabeltranm | 0:89b318e49395 | 7 | #define POSDRAW 50 |
fabeltranm | 0:89b318e49395 | 8 | #define POSNODRAW 10 |
fabeltranm | 0:89b318e49395 | 9 | |
fabeltranm | 0:89b318e49395 | 10 | |
fabeltranm | 0:89b318e49395 | 11 | void init_servo(); |
fabeltranm | 0:89b318e49395 | 12 | void draw(); |
fabeltranm | 0:89b318e49395 | 13 | void nodraw(); |
fabeltranm | 0:89b318e49395 | 14 | void vertex2d(uint8_t x, uint8_t y); |
fabeltranm | 0:89b318e49395 | 15 | |
fabeltranm | 0:89b318e49395 | 16 | void home(); |
fabeltranm | 0:89b318e49395 | 17 | void initdraw(float x, float y); |
fabeltranm | 0:89b318e49395 | 18 | void put_sstime(uint8_t vtime); |
fabeltranm | 0:89b318e49395 | 19 | |
fabeltranm | 0:89b318e49395 | 20 | #endif // DRAW_H |