/asm-microcontrollers

Practices in assambly lenguage (mnemonic) in the program MPLAB

Primary LanguageAssembly

INDEX

Practices in assambly lenguage in the program MPLAB & C CCS for microcontrollers with pic 16f877A // Practicas en lenguaje ensamblador en el programa MPLAB & C CCS para microcontroladores con el pic 16F877A

#MPLAB & #PIC CCS

1.- Button and LEDS //Secuencia de botones y luces. [MPLAB]

2.-Read input in port B and sends to port D // Lee la entrada en el puerto B y lo manda al puerto D [MPLAB]

3.- Using indirect addressing, it reads port B and saves the first 10 values. and then shows them at port D //Utilizando direccionamiento indirecto, lee el puerto B, guarda los primeros 10 valores que ingreses y luego los muestra en el puerto D. [MPLAB]

4.- With a dipswitch set the number of the engine spins. (Stepper) the first button (D0) turn engine right and the second (D1) to turn engine left and just the half of the number, and just even. //Con un dipswitch coloca el numero de giros del motor.(Motor a pasos) El primer boton (D0) mueve el motor hacia la derecha y el segundo boton (D1) mueve el motor a la izquierda y solo la mitad del numero y solo numeros pares. [C CCS]

5.- Stepper, keypad program whitout library // Programa de Motor a pasos, teclado matricial SIN libreria.