hi,
Some assemblers will accept upper or lower case text, some have to be set to accept upper or lower.
I would recommend that you use lower case for the PIC instructions and upper case for the SFR names, this IMO makes it easier to read.
If you have a spare output pin, you could use it to drive a 'brake/holding' solenoid, so that the solar panel can resist the wind trying to move it.
In that way you could remove the brake and drive the servo every 5 minutes and apply the hold.
Its possible to count a 5min delay period and at the same time activate the servo.
omg, I can't thank you enough, mr eric.
I do have spare pins, but what do you mean by brake / holding solenoid? I read a bit about holding solenoid, but there's not much information.
Would you mind giving me material on it? I need more information on how it works and how to apply that in my circuit.
please disregard about what I said above. I have watched some videos on youtube about it, it is more on the mechanical device part rather than in electronic part, isn't it?
When the current is high, the brake solenoid (the protruding part) will pop out to break and when the current goes low, the brake solenoid will retract like a turtle.
Now, I need some enlightenment on how to use it to support my servo. If you have any idea, please do tell me. ^^
thank you.
Regards.
Last edited: