View Single Post
Unread 09/27/2012, 08:40 PM   #1114
Simpsoid
Registered Member
 
Join Date: May 2012
Posts: 1
Hi Shark Boy. I am using a DFRobot LCD Keypad shield for my reef controller. I'm looking for some code and have been cutting and pasting and trying to get my stuff working.

The lcd / keypad shield I use has the I2C inputs and all the buttons are on the shield. Since the Typhon standard uses push buttons it's incompatible with my setup, and like you I am after some code to make it work. Someone asked on page 38 of this thread about it and got a response that said basically to handle all of the menu' presses with if statements about which button is being pressed.

I have the button values and a knowledge of C++ but I can't work out how to assign the buttons etc. since the Button.h library used in Typhon has things like UniquePresses and IsPressedDown and stuff that the ADC / I2C keys don't really operate on nor will he menu case statements work with (as far as I can see). If you have any information on how to get our setup operational then please share. Thanks!


Simpsoid is offline   Reply With Quote