Acercamiento a lo que pide el profe

Dependencies:   mbed

Fork of 01-01EjercicioFuncionXY by ferney alberto beltran molina

Tomando como base los ejemplos que el Ing. Ferney subió, realizamos este primer acercamiento al objetivo del primer corte.

en síntesis se generó el código de guardar y ejecutar.

Slds!

Committer:
Bethory
Date:
Wed Apr 25 02:12:19 2018 +0000
Revision:
6:87a37f4163bd
Parent:
3:3665eb7346e2
Ejercicio 2do corte

Who changed what in which revision?

UserRevisionLine numberNew 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 6:87a37f4163bd 7 #define POSDRAW 30
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