Giro en su propio eje Presentado por: Julio Fajardo, Cesar Pacheco, Angel Trujillo, Daniel Vizcaya
Fork of 01_Embebidos by
draw.h@3:3665eb7346e2, 2018-03-12 (annotated)
- Committer:
- Bethory
- Date:
- Mon Mar 12 04:21:09 2018 +0000
- Revision:
- 3:3665eb7346e2
- Child:
- 6:87a37f4163bd
Ah? vamos
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Bethory | 3:3665eb7346e2 | 1 | #ifndef DRAW_H |
Bethory | 3:3665eb7346e2 | 2 | #define DRAW_H |
Bethory | 3:3665eb7346e2 | 3 | |
Bethory | 3:3665eb7346e2 | 4 | #include "mbed.h" |
Bethory | 3:3665eb7346e2 | 5 | |
Bethory | 3:3665eb7346e2 | 6 | #define MAXPOS 50 // en milimetros |
Bethory | 3:3665eb7346e2 | 7 | #define POSDRAW 10 |
Bethory | 3:3665eb7346e2 | 8 | |
Bethory | 3:3665eb7346e2 | 9 | |
Bethory | 3:3665eb7346e2 | 10 | void init_servo(); |
Bethory | 3:3665eb7346e2 | 11 | void draw(); |
Bethory | 3:3665eb7346e2 | 12 | void nodraw(); |
Bethory | 3:3665eb7346e2 | 13 | void vertex2d(uint8_t x, uint8_t y); |
Bethory | 3:3665eb7346e2 | 14 | |
Bethory | 3:3665eb7346e2 | 15 | void home(); |
Bethory | 3:3665eb7346e2 | 16 | void initdraw(float x, float y); |
Bethory | 3:3665eb7346e2 | 17 | void put_sstime(uint8_t vtime); |
Bethory | 3:3665eb7346e2 | 18 | |
Bethory | 3:3665eb7346e2 | 19 | #endif // DRAW_H |