websitetemplate.org

Hjem > Arduino Duemilanove > LCD Display > LCD Keypad Shield

LCD Keypad Shield

 

 

Disponible PINs på Keypad shieldet.

 

Software:

//Sample using LiquidCrystal library
#include <LiquidCrystal.h>

// select the pins used on the LCD panel
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);
 
// define some values used by the panel and buttons
int lcd_key       = 0;
int adc_key_in  = 0;
#define btnRIGHT    0
#define btnUP        1
#define btnDOWN   2
#define btnLEFT     3
#define btnSELECT 4
#define btnNONE    5

Powered By CMSimple.dk - Design By OZ5HZ Finn Johansen