After spending hrs trying to work out how to program a pic, annoying the crapola out of scorpia in chat and generally stuffing it all up i finally got mplabs to make a hex file using 0505.asm,,,lights only work at 100%, ,though it was my stuff up (of course) went back to 1211.asm and everything was as normal as it was b4.Then reread this post word for word instead of skimming...found 0506 and wayyyy we go.Except for the LEDs shutting down at 18% its good enough for me to forget about it now...using REN-C and 595
great to hear you got it working.
as for turning off at 18% check for a line int he text of the .asm file that has something like the word null_cell . it should be the value at which it shuts down.
change that number to very low and try it. you will need to do save the file then do a make clean and then compile after every change, then export as you have been and burn.
btw. take the current .hex file and put it somewhere with a note saying its a working version etc with the cutoff value etc. that way you allways have a workign file. just incase you break something while playing.
Peter
Thanks Scorpia.Ive changed Nulled-Value to 10 and will flash a chip later and see how it goes.At present have all the controllers and ZC power boxes all tidied up and sitting in the corner...hard parts done now to finishe the lights
Flashed the chip at 10, can get the indicator LEDS to stay on down to 6%, next test will be with lights and relays. Thanks for all the help...this FORUM ROCKSS!!!! lol
P. Short wrote:This sort of situation is the reason why I strongly recommend that people acquire a PIC programmer when working on these projects. While I don't always follow my own advice, I think that it is best to be as self-reliant as possible.
Well, I just broke down and got one - no idea if it's any good or not. Will find out in a few days.
]Now I have no excuse not to test and use my Ren-C and Olsen board...
Brian
