Michael Sims

Results 76 comments of Michael Sims

@bbar2 - When I develop in CLion for Arduino, I USUALLY have the Arduino IDE open as well with a sketch loaded that I simply call "delete.ino" ... CLion gives...

@vsch >It seems CLion 2022.3 has made big changes to their CMake and arduino-cmake does not work. I have zero experience with CMake, I have a perpetual fallback license for...

@vsch - I completely understand each 'pain point' you mentioned concerning maintaining a JetBrains plugin and keeping it current as JetBrains pushes out new releases to their IDEs. The frustrations...

@guillaumechardin I'll have a look at it and get back to you.

@guillaumechardin OK, so what is happening is that you're calling `firstTrigger()` then immediately after you're calling `triggered()`. When `firstTrigger()` is called, the timer is not reset (and that is intentional)...

@guillaumechardin And just for clarity, the way the `firstTrigger()` method works is like this: If the duration of the timer has passed, it checks a flag to see if it...

@guillaumechardin So firstTrigger is intended to only return true one time until the timer is reset. triggered() returns true and resets the timer. UNLESS you call triggered(NO_RESET) but then it...

@guillaumechardin > in my code ``` if (myTimer.onceTriggeredPersistant || myTimer.firstTrigger() ) { myTimer.trigerred(); //to reset timer for subsequent elseif tests //more custom code } else if (myTimer.triggered() ) { //my...

@guillaumechardin I always found some of the debouncing discussions to be rather interesting, where there is a method that seems to be considered the best way to do it (though...

@mrHubdoc First of all, when using this format for communicating, leverage the tools provided in the editor. You should present code, formatted in proper markdown code blocks by pasting your...