Hello!
So my problem is that when check my program in the simulation works fine, but when I do it in the PIC it fail, the PIC that I'm using is the PIC16F628A.
My program consist that when I press a button a counter will be activated, so when my counter is 1 it would activate a condition that will turn on a sequence of leds. My problem is that when the pin RA4 have to turn on it does nothing but only happen in the PIC, in the simulation it turns on.
Here's my program.
Thanks!
programation failing
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: programation failing
To check chip is running correctly, have you tried the one sec flash test?
How have you wired your switch, with a pull-up or pull down resistor?
Is it only RA4 that not working and all the rest are?
How have you wired your switch, with a pull-up or pull down resistor?
Is it only RA4 that not working and all the rest are?
Martin