I'm returning to embedded programing after a break since 2009... back then I could write in assembler but appear to have had a severe memory leak..
Got all the hardware together, and my legacy MPLABx IDE works. I'm just wondering whether to persist with ASM or find some different tools
The code should be simple - to turn off a solar charge controller at sunrise and on power up as the unit defaults to ON and 'other people' are not good at turning things OFF
The controller has active LOW
Daylight LED and
Load ON LED ON/OFF is a pushbutton
so I add on a PIC12F683 - stays mostly in sleep, wake on GPIO change then do some 'is it daylight for a while? and 'is the load on' checks' then if TRUE pulse the ON/OFF Switch..
And on Power up wait a while, check load state and if ON pulse ON/OFF
How hard should that be??