Data Sheet
Guide V1.0
Email: keen@elecrow.com Web: www.elecrow.com ---Designed by Elecrow Keen
79
LCD1602 with IIC
SCL -> A5
SDA -> A4
VCC -> 5V
GND -> GND
Joystick
GND -> GND
+5V -> 5V
VRx -> A0
VRy -> A1
SW -> D6
Compile and upload
Tips: Refer to the operation demo (Step4 to Step8).
If you have added the library, skip it.
Otherwise, you need to add the LiquidCrystal_I2C to the Arduino library file directory,
otherwise the compiler does not pass. Please refer to ‘How to add library files’.
If the LCD does not display or brightness is not enough, please adjusted the potentiometer.
Language reference
Tips:click on the following name to jump to the web page.
If you fail to open, use the Adobe reader to open this document.
analogRead()
Application effect
By rotating or pressing the joystick, you will see the change in value.
X, Y-axis output of two potentiometers can be read through the AD converter twist angle.
Press down on the joystick, touch switches can be deployed all the way, as a digital output,
has a pull-up.