Read the statement by Michael Teeuw here.
MMM-Buttons to change pages
-
@Jimmy1502 said in MMM-Buttons to change pages:
shortPress: { notification: "PAGE_INCREMENT", payload: 1, }, shortPress: undefined
because you have shortPress defined twice, the last occurance wins…
but other than that, looks on -
@sdetweil Thx for your help! Kinda dumb mistake :(
But here for the rest. This code was working:
{ module: 'MMM-Buttons', config: { buttons: [ { pin: 26, name: "nextpagewithbutton", shortPress: { notification: "PAGE_INCREMENT", payload: 1, }, } ] } },
-
-
can i ask what kind of buttons/wiring you used? did you use a breadboard or just go straight to the pins?
My coding and modules are done so i’m at the “physical” point
thanks -
@captheavenger hi i just used a wire (with special connectors) to directly connect the 3.3V pin to the other gpio pin. It was just for testing purpose. I bought a button but i need to solder wires to it.
-
@Jimmy1502
gotcha, so i’m going to purchase a couple of 30mm arcade buttons to put on the side of the frame. my question is what type of wire would you recommend to connect the button to the pi?
i’m not sure of the terminology of how to describe the connectors. so when you say special connectors i think thats the info i’m missing
thanks! -
@captheavenger they sell wires with the GPIO pin sockets, the other end could be male or female, just clip that off and extend with anything…
I have a spool of 20ga wire…