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.
Fork of 01-04_Primer_Avance by
mover.h@3:60722da62531, 2018-09-07 (annotated)
- Committer:
- sebasmartinez
- Date:
- Fri Sep 07 03:42:26 2018 +0000
- Revision:
- 3:60722da62531
- Parent:
- 1:526bdd5faa37
- Child:
- 4:ba51736778e1
v2
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 | |
| sebasmartinez | 3:60722da62531 | 6 | #define MAXPOS 180 // 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 | 1:526bdd5faa37 | 14 | void mover_ser(uint8_t motor, uint8_t pos); |
| fabeltranm | 0:89b318e49395 | 15 | |
| fabeltranm | 1:526bdd5faa37 | 16 | |
| fabeltranm | 0:89b318e49395 | 17 | |
| fabeltranm | 0:89b318e49395 | 18 | #endif // DRAW_H |
