Help with panel buttons needed

(zk2359_SW) #1

I’m in the final stages of setup, but running into an issue with buttons for the panel. I have a 2004 LCD setup and working. I also have an array of 5 buttons (4 directions plus center). One side of each button is connected to ground. The other sides go to 1.23, 1.31, 3.25, & 3.26 (it seems the right button isn’t needed).

I just can’t get the buttons to work; the screen just stays in monitor mode when I press any button. I tried three ways, none worked:

panel.click_button_pin 1.23 #PANEL ‘CLICK’/‘ENTER’ BUTTON
panel.click_button_pin 1.23! #PANEL ‘CLICK’/‘ENTER’ BUTTON
panel.click_button_pin 1.23!^ #PANEL ‘CLICK’/‘ENTER’ BUTTON

Anyone have an idea what I’m doing wrong here?

Imported from wikidot