PDA

View Full Version : FAST Firmware changes



rstehle
03-17-2012, 05:44 PM
I received my FAST parts and PCB's today, and have begun the adventure. I have a question regarding making changes to the firmware based on the number of segments I am using, which is 4, or 28 leds. I entered 28 where it looked like it needed to be, but my build failed. Could one of the experts enlighten me as to where the 28 goes?
Thanks,
Randy

jklingert
03-17-2012, 06:01 PM
You just change it in one place, in the section of the code below the data tables the line that says:

incf full, 1 ;Was easier than explaining add 1 to LED count.
movlw d'56'
movwf fall_count ;######## Set number of LEDs attached to controller ie. 3 segments = 21

change the 56 to 28:

incf full, 1 ;Was easier than explaining add 1 to LED count.
movlw d'28'
movwf fall_count ;######## Set number of LEDs attached to controller ie. 3 segments = 21

rstehle
03-17-2012, 08:48 PM
That did it! Thank You. (I was changing both of the 56's to 28, and it wouldn't work............)