Hi Erel,
It's just connected to a push button which when I check the state, ie read the value, in a loop does work! The pin value changes. I could do it in a loop or use a timer, but wanted to get AddListener working.
I've also added a 4x4 keypad and used the keypad library to set it up, but that doesnt work either, I mean the key pressed routine never triggers.
[edit: pad.Initialize ("123A456B789C*0#D",Array As Byte(2,3,4,5), Array As Byte(6,7,8,9),"Pad_KeyPressed")]
Thanks
Dave