I'm going to need someone to hold my hand
Yup, you got it!So taking SW1 as the button being pressed: GPIO.3 which was '1' when not pressed goes to '0' when pressed then gets inverted ~ to a '1' which becomes bit one of the BYTE.
I'm going to need someone to hold my hand
Yup, you got it!So taking SW1 as the button being pressed: GPIO.3 which was '1' when not pressed goes to '0' when pressed then gets inverted ~ to a '1' which becomes bit one of the BYTE.
Dave
Always wear safety glasses while programming.
Bookmarks