I would suppose that the "#define BOUNCE_WITH_PROMPT_DETECTION" would also only work in the .h file.
Remove "(or in your code before including "Bounce.h") " per https://github.com/thomasfredericks/Bounce2/issues/85#issuecomment-1081131688 -- it only seems to work if defined in the Bounce2.h file.
Perhaps it is related to https://forum.arduino.cc/t/order-of-include-files/36881/4 and https://arduino.github.io/arduino-cli/dev/sketch-build-process/
I would suppose that the "#define BOUNCE_WITH_PROMPT_DETECTION" would also only work in the .h file.
Yes, it needs to be now defined in the source and not the sketch. The behaviour was changed when bounce was split into a .h and .cpp files. Thank you for submitting the bug.
But the index.html is created by doxygen from the README.md.
I updated the README.md
Yes, it needs to be now defined in the source and not the sketch. The behaviour was changed when bounce was split into a .h and .cpp files. Thank you for submitting the bug.
But the index.html is created by doxygen from the README.md.
I updated the README.md
Pull request closed
This pull request cannot be reopened because the branch was deleted.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Remove "(or in your code before including "Bounce.h") " per https://github.com/thomasfredericks/Bounce2/issues/85#issuecomment-1081131688 -- it only seems to work if defined in the Bounce2.h file.
Perhaps it is related to https://forum.arduino.cc/t/order-of-include-files/36881/4 and https://arduino.github.io/arduino-cli/dev/sketch-build-process/
I would suppose that the "#define BOUNCE_WITH_PROMPT_DETECTION" would also only work in the .h file.
Yes, it needs to be now defined in the source and not the sketch. The behaviour was changed when bounce was split into a .h and .cpp files. Thank you for submitting the bug.
But the index.html is created by doxygen from the README.md.
I updated the README.md
Pull request closed