Activity 1: Displaying Characters on LCD Panel
Material Needed:
- Laptop
- USB cable
- Breadboard
- Arduino Board
- LCD Panel
- 14 x Jumper Wires
#include <LiquidCrystal.h>
LiquidCrystal lcd (8,9,10,11,12,13);
void setup()
{
___._____(16,2);
___._____(16,2);
}
void loop()
{
lcd.home();
lcd.print("How are you");
delay (1000);
lcd.setCursor(0,1);
___._____("today 1R3???");
delay (1000);
____.______();
delay (1000);
}
Pin No. :
Pin 1: GND Bus
Pin 2: Live Bus
Pin 3: GND Bus
Pin 4: Digital Pin 8
Pin 5: GND Bus
Pin 6: Digital Pin 9
Pin 7: Empty
Pin 8: Empty
Pin 9: Empty
Pin 10: Empty
Pin 11: Digital Pin 10
Pin 12: Digital Pin 11
Pin 13: Digital Pin 12
Pin 14: Digital Pin 13
Pin 15: Live Bus
Pin 16: GND Bus
Pin 2: Live Bus
Pin 3: GND Bus
Pin 4: Digital Pin 8
Pin 5: GND Bus
Pin 6: Digital Pin 9
Pin 7: Empty
Pin 8: Empty
Pin 9: Empty
Pin 10: Empty
Pin 11: Digital Pin 10
Pin 12: Digital Pin 11
Pin 13: Digital Pin 12
Pin 14: Digital Pin 13
Pin 15: Live Bus
Pin 16: GND Bus
No comments:
Post a Comment