Issues with 16 Bit PIC
Posted: Sat Apr 26, 2014 8:43 pm
Hello All,
I am using a 16 Bit PIC (Specifically the 24FJ256GB210) for the first time, having only used 8 bit PICs before, however I am having several issues
- The PIC keeps reseting and going through the initialisation function every few minutes - despite having the WDT turned off in the config bits
- A couple of outputs wont work, unless I repeatedly turn them on and off in a loop (The LCD Backlight output for example, down not turn on in the initialisation function, but does toggle in the loop in the main function)
- LCD is refusing to display anything (It's no the contrast, I've already checked that!)
Can anyone look over it and see if I'm doing anything stupid please?
I have attached the code and a circuit diagram below
I am using a 16 Bit PIC (Specifically the 24FJ256GB210) for the first time, having only used 8 bit PICs before, however I am having several issues
- The PIC keeps reseting and going through the initialisation function every few minutes - despite having the WDT turned off in the config bits
- A couple of outputs wont work, unless I repeatedly turn them on and off in a loop (The LCD Backlight output for example, down not turn on in the initialisation function, but does toggle in the loop in the main function)
- LCD is refusing to display anything (It's no the contrast, I've already checked that!)
Can anyone look over it and see if I'm doing anything stupid please?
I have attached the code and a circuit diagram below