johnnyquest
New Member
I asm using Proteus to simulate microchips application note AN557 page 2 MULTIPLEXING FOUR 7-SEGMENT LEDS WITH A 4X4 KEYPAD. I changed the code to work on a 16f64 by commenting out "movlw 3" "movwf ADCON1 " and it works for the most part. When trying to port the code to a 16f628a I changed to general purpose addresses to start at 0x20 and commented out "bcf STATUS,RP1" "movlw 3" "movwf ADCON1 " from InitPorts and added "movlw 0x07" and "movwf COMCON" to the beggining of InitPorts. When trying to simulate this in Proteus the LEDs work but only to keys work and they are not saved in thier positions; MSD LSD etc.
Am I looking over something. Please help point me in the right direction. Thanks
Am I looking over something. Please help point me in the right direction. Thanks