I am a student in my final year of high school in Sydney. For my design and technology project i am designing a clock which uses magnets to move unattached "hands". A small task for this involved modifying Alan Parekh's code for his gear clock to make it function as i want. I purchased the kit version of his circuitry and soldered it together and he has provided me with the code. The kit uses a PIC16F628A microcontroller.
In an earlier post i was suggested to replace the CONFIG options he used for compiling in PBP2, with the following to resolve errors in compiling in PBP3:
This did resolve errors in compiling i was having, however when i make only this change to his code, the stepper motor being controlled stops updating at the set time intervals. No other changes are made. The buttons in the code still work, however the time adjustments are not made.
I have attached the original code, which has only been modified in the way above from what is attached.
If anyone would be able to assist me in anyway it would be greatly appreciated
The only thing I can think of is that PIC Basic has changed some other functionality since V2, there are loads of complaints about V3 on the web! Maybe time to get some test routines written and an oscilloscope!