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@1:526bdd5faa37, 2018-09-04 (annotated)
- Committer:
- fabeltranm
- Date:
- Tue Sep 04 02:15:49 2018 +0000
- Revision:
- 1:526bdd5faa37
- Parent:
- draw.h@0:89b318e49395
- Child:
- 3:60722da62531
entrega 1 sin comprobar
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 | 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 |
