Diseño y construcción de tricicleta solar - GEA - Universidad ...
Diseño y construcción de tricicleta solar - GEA - Universidad ...
Diseño y construcción de tricicleta solar - GEA - Universidad ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
ANEXO A.2: Algoritmo <strong>de</strong>l control discreto<br />
#inclu<strong>de</strong> <br />
#inclu<strong>de</strong> <br />
#inclu<strong>de</strong> "enco<strong>de</strong>r.h"<br />
#inclu<strong>de</strong> "motorDC.h"<br />
#inclu<strong>de</strong> "pid.h"<br />
#inclu<strong>de</strong> "adc.h"<br />
void initPI(void)<br />
{<br />
uint8_t i;<br />
}<br />
pi<strong>de</strong>n=0;<br />
for(i=0;i