Re: Physical switch vs. virtual switch
Posted: Fri Oct 20, 2017 4:48 am
I just found philbowles wonderful https://github.com/philbowles/esparto project. I'll likely use it for the final switch as it needs to be as foolproof as possible because the switch will be for a impatient senior that loves nothing more than flicking switches. But in the meantime i'll just use the feature list as a challenge (or wishlist). After all i'm here to learn and the bespoke senior can manually flick a bit longer Debouncing is coming along nicely.
I'm afraid the setting up the timer properly would be touching on callbacks and multithreading, wouldn't it? I read about it, but that's what i meant with a bit out of my league. In a earlier version of my code i tried using yield() to have the hardware button working while connecting. But my esp just flipped the table and got very upset, so i ... erm ... yielded
I'm afraid the setting up the timer properly would be touching on callbacks and multithreading, wouldn't it? I read about it, but that's what i meant with a bit out of my league. In a earlier version of my code i tried using yield() to have the hardware button working while connecting. But my esp just flipped the table and got very upset, so i ... erm ... yielded