corneliusmunz / legoino

Arduino Library for controlling Powered UP and Boost controllers
MIT License
257 stars 34 forks source link

Add isScanning method to determine whether the Lpf2Hub instance is still scanning or not #60

Closed fredlcore closed 2 years ago

ThorstenBenter commented 2 years ago

@fredlcore Bit late with my comment, but your changes are really helpful!!! My workaround for that was simply timing, but that is absolutely not elegant. Now the connection flow is super stable and the ESP never crashes anymore due to init issues. Thank you very much! Best Thorsten

fredlcore commented 2 years ago

@ThorstenBenter: Thanks, I hope @corneliusmunz will agree and merge it into his repo...

ThorstenBenter commented 2 years ago

@fredlcore

that would really be helpful! You may also want to add "isScanning KEYWORD2" to the keywords.txt file; that changes the font color in the IDE, I believe. Goof for nothing other than knowing there was no typo ... Best Thorsten

fredlcore commented 2 years ago

You're more than welcome :) - thanks for working on this!