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!

draw.h

Committer:
Bethory
Date:
2018-04-25
Revision:
6:87a37f4163bd
Parent:
3:3665eb7346e2

File content as of revision 6:87a37f4163bd:

#ifndef DRAW_H   
#define DRAW_H  

#include "mbed.h"

#define MAXPOS 50       // en milimetros
#define POSDRAW 30   


void init_servo();
void draw();
void nodraw();
void vertex2d(uint8_t x, uint8_t y);

void home();
void initdraw(float x, float y);
void put_sstime(uint8_t vtime);

#endif //  DRAW_H