Page 1
USER MANUAL LCD & keypad shield for Arduino® – LCD1602 WPSH203 whadda.com...
Page 2
If in doubt, contact your local waste disposal authorities. Thank you for choosing Whadda! Please read the manual thoroughly before bringing this device into service. If the device was damaged in transit, do not install or use it and contact your dealer.
Page 3
What is Arduino® ® Arduino is an open-source prototyping platform based on easy-to-use hardware and boards are able to read inputs – light-on sensor, a finger on a button or a ® software. Arduino Twitter message – and turn it into an output – activating of a motor, turning on an LED, publishing something online.
Page 4
Specifications • dimensions: 80 x 58 x 20 mm Features • blue background/white backlight • screen contrast adjustment • uses 4-bit Arduino® LCD library • reset button • the Up, Down, Left, Right buttons use only one analogue input Pin Layout Analogue 0 UP, DOWN, RIGHT, LEFT, SELECT Digital 4...
Page 5
// when all others fail, return this... void setup() lcd.begin(16, 2); // start the library lcd.setCursor(0,0); lcd.print("Whadda WPSH203"); // print a simple message void loop() lcd.setCursor(9,1); // move cursor to second line "1" and 9 spaces over lcd.print(millis()/1000); // display seconds elapsed since power-up lcd.setCursor(0,1);...
Page 6
case btnRIGHT: lcd.print("RIGHT "); // Print RIGHT on LCD screen // Code to increase message counter after debounced button press if((millis() - prev_trigger) > 500) { message_count++; if(message_count > 3) message_count = 0; prev_trigger = millis(); ///////////////////////////////////////////////////////////// break; case btnLEFT: // if You need the word "LEFT "...
Page 7
// If a button was pressed, check if a different message needs to be displayed if(lcd_key != btnNONE) { lcd.setCursor(0,0); switch(message_count) case 0: { lcd.print("Whadda WPSH203 "); break; case 1: { lcd.print("LCD shield "); break; case 2: { lcd.print("Check whadda.com");...
Need help?
Do you have a question about the WPSH203 and is the answer not in the manual?
Questions and answers