AlbertHall
- Joined Jun 4, 2014
- 12,625
Do you want code for the free XC8 compiler?so i need help with creating the C-code for this circuit. i am using MPLAB X IDE and i have both PICKIT 2 and 3.
Do you want code for the free XC8 compiler?so i need help with creating the C-code for this circuit. i am using MPLAB X IDE and i have both PICKIT 2 and 3.
Here is a test version. The buttons won't do anything. The time should count up correctly from 00:00:00 to check that I have the LED wiring correct. You will need to change the extension from .txt to .c before loading it into the IDE/XC8.I have access to both the XC8 Compiler and MPLAB X IDE, Whichever is easier.
Here's a corrected version - I neglected to set pins as digital instead of analog!Here is a test version. The buttons won't do anything. The time should count up correctly from 00:00:00 to check that I have the LED wiring correct. You will need to change the extension from .txt to .c before loading it into the IDE/XC8.
Check your conversations.@AlbertHall , Thanks for the update, Finally got around to testing it.
Unfortunately the result is the same as the original though. As i mentioned previously it may be easier for you to diagnose if i can E-Mail you the video. or if there is some site i can post it too?
I would like to be able too Compensate you for your time and effort, A small donation?
Kind regards, Brent.
I think it was running at 8MHz clock and not switching to the 32kHz oscillator!@jayanthd Thanks for your offer, I will keep it in mind. But for now Alberthall is helping me out.
Kind regards, Brent.
Thanks so much for your help and dedication, it worked Perfectly. And also thanks to everyone else that helped throughout this whole thread. this is truly a fantastic community. couldn't be happier. If i can help anyone with anything drop me a line.I think it was running at 8MHz clock and not switching to the 32kHz oscillator!
Try this one:
An early, and well deserved demise of our team, saved me quite some time.And sorry for the delay posting guys, Got distracted with the FIFA![]()
Sadly, ours is still in it.An early, and well deserved demise of our team, saved me quite some time.