We are go!! I’ve got the plasma 2040 up and running and systems are firing on all cylinders.
My next step is attaching more buttons - at least 12. Can anyone recommend the best QW/ST module to attach more switches to a Plasma2040? Or if a QW/ST is not right, then another way of getting 12 buttons on here?
You should be able to use the SDA, SCL, INT pins as GPIO for buttons. As well as A0, A1, A2 and maybe the SWC ,SWD?
Then add button combo’s, If 1 and 2 pressed do this
Really proud of my experience with pimoroni. First bought from them in December 2021. This year I’ve done around 10 parties with my own lights and got paid to design/program lights for others.
I’m back. How would I go about checking if A1 is connected to ground in micropython? I’m sorry as I know this is a very basic question, but I am not sure even where to start here. Please can someone tell me which micropython library to use and what the code might look like, or tell me where I can find that information.
One way to do it is to use Pimoroni’s button library.
On my Tufty it goes like this.
Keep in mind on the Tufty the buttons are wired to 3.3v
If wired to ground its likely
button_a = Button(7, invert=True)
or just
button_a = Button(7)