You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In chapter02, button_gpiozero.py uses debounce time of 0.1 seconds. button_pigpiozero.py uses debounce time of 10000 microseconds. I think the idea of chapter 2 is to execute the same functionality using pigpio and gpiozero, so this difference in debounce time can be confusing for readers.
10000 microseconds == 0.01 seconds != 0.1 seconds
The text was updated successfully, but these errors were encountered:
Thank you for bringing this discrepancy to our attention.
I have confirmed that there is a type-o on Page 64 where I state that the debounce time is measured milliseconds when it is actually meant to be microseconds.
I have added an Errata section at the following link discussing the misprint and implications.
In chapter02, button_gpiozero.py uses debounce time of 0.1 seconds. button_pigpiozero.py uses debounce time of 10000 microseconds. I think the idea of chapter 2 is to execute the same functionality using pigpio and gpiozero, so this difference in debounce time can be confusing for readers.
10000 microseconds == 0.01 seconds != 0.1 seconds
The text was updated successfully, but these errors were encountered: