Friday, November 23, 2007

Second ASM code!

This is my second assembly code that worked! I left my first one out because it only turns one LED on and off. This one flashes four LEDs sequentially. Although my code is successful, I'm finding that writing and editing the code is becoming very tedious. Right now I am trying to modify the code so that the parts that the microcontrollers are running actually looks simpler (perhaps by making a library of set patterns so that I can call them). This program was written and compiled through MPLAB, and was loaded to the PIC-16F877A microcontroller through the mdfly programmer using their PIC+PRO software.

This is the program: flashLED.asm

WARNING! this code will not run without initialization and other include files.


Here is a video of what it does.