22.10.2014 Views

MANUAL DE MICROCONTROLADORES PIC

MANUAL DE MICROCONTROLADORES PIC

MANUAL DE MICROCONTROLADORES PIC

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

El programa que comanda sobre este Hardware funciona basado en el pulsador S1 como<br />

control de 10 pasos discretos de velocidad los cuales son indicados sobre el display 7<br />

segmentos (0 a 9) y cuyo efecto final se observa directamente en la velocidad del motor<br />

M1.<br />

Listado del programa<br />

LIST P= 16F84<br />

#INCLU<strong>DE</strong><br />

DIG EQU 0CH<br />

VROFF EQU 0DH<br />

VRON EQU 0EH<br />

CONT1 EQU 0FH<br />

CONT2 EQU 10H<br />

X EQU .250

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!