Why not just move it somewhere out of the way and place a GOSUB Power_On where it used to be?
Why not just move it somewhere out of the way and place a GOSUB Power_On where it used to be?
"I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams
Yes this is what I did,
but I would still like to know what it does and if it would mess up somehow
I haven't tried it personally because its never really necessary.
If you want to know what happens, try it![]()
"I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams
DoSomeTimes:
code block 1
DoOften:
code block 2
Return
The above structure lets you have two separate entry points with a single return. I use this structure when I want to recalibrate a sensor for example.
Calling GOSUB DoOften gets the result of the sensor.
Calling GOSUB DoSomeTimes starts with a calibration routine then gets the results of the sensor.
your mileage may vary but the idea works for me.
HTH
BrianT
Bookmarks