Dear all,
I need small opnion over here.I have LCd sheild with keypad.
http://www.freetronics.com/pages/16x2-l … wSI687pegJ
The Interface code working fine.I need small coding help here
.if left key is pressed Display date. continue showing updated time and date
if right key is pressed Display desired angle and show continued angle.
if up key pressed Display wind speed
if down key pressed display longitude.
if select key pressed choose menu option for modify value.
Problem here i am making is if button pressed left only it update value. is there any way if i pressed any one of key show display current reading continuous manner.
example if time set and if left key is pressed then it should continuously display change in time
code syntax:
void lcd_call()
{
int button;
button = read_LCD_buttons();
if (button == btnLEFT)
{
digitalClockDisplay();
}else if (button == btnRIGHT)
{
Display_angle();
}else if(button ==btnUP)
{
Display_Wind();
}else if (button ==btnDOWN)
{
Display_latitude();
}else if (button==btnSELECT)
{
button_loop();
}
}