4a29e0c600
swap inside brightness and party buttons - The outside button is next to the outside light, but not the inside button. This moves it beside the light and puts the party button in the middle (on the prototype board)
Drew Bowering2024-04-03 00:56:44 -06:00
69042cbe9c
make brightness values configurable - Also simplify the cycleBrightness() function with a loop - Adjusted some of the brightness values
Drew Bowering2024-04-02 23:57:32 -06:00
772ac6a8d8
add select block to button press channel - outchan is unbuffered, so drop the message if there's already one sitting there.
Drew Bowering2024-04-02 16:53:35 -06:00
67607347e4
remove time.Sleep() calls - time.Sleep() blocks the entire program, other goroutines won't run. Instead, watch the button channels and filter out any extra presses within too short of a time.
Drew Bowering2024-04-02 12:58:16 -06:00
c9dc844d84
initial implementation - Single "inside" light, with inside brightness button. Cycles through the brightness settings, white light only.
Drew Bowering2024-03-30 13:53:19 -06:00