Joy-it RB-LCD-20x4 Скачать руководство пользователя страница 1

 

Published:  18.07.2019  

Copyright by Joy-IT 

 
 

3

 

LCD Display 20x4 with Buttons 

LCD Display 20x4 with Buttons 

3

 

Содержание RB-LCD-20x4

Страница 1: ...Published 18 07 2019 Copyright by Joy IT 1 3 LCD Display 20x4 with Buttons LCD Display 20x4 with Buttons 3...

Страница 2: ...blished 18 07 2019 Copyright by Joy IT 2 3 LCD Display 20x4 with Buttons Index 1 Connecting the Display 2 Installing the System 3 Usage Example Code 3 1 RB LCD20x4 Version 1 3 2 RB LCD20x4 V2 4 Suppor...

Страница 3: ...hank you for purchasing our product Please find our instructions below 1 Connecting the Display Plug the display onto the pin header of your Raspberry Pi so that the display is placed over your Raspbe...

Страница 4: ...Raspbian software on your Raspberry Pi and continue with the next step If not please follow the instructions Install the latest Raspbian System Image to your SD Card You can download the image here Tr...

Страница 5: ...ay 20x4 with Buttons 3 Verwendung Code Beispiel Before using our RB LCD20x4 you need to determine which version you own The following two pictures show you how to recognize this RB LCD20x4 Continued f...

Страница 6: ...lation You may need to adjust the contrast manually before you can see an output on the display Adjust the contrast by turning the adjusting screw with a small screwdriver To get the display fully up...

Страница 7: ...UTS SW1 SW2 SW3 SW4 HD44780 Controller Commands CLEARDISPLAY 0x01 SETCURSOR 0x80 Line Addresses Pick one Comment out whichever doesn t apply LINE 0x00 0x40 0x14 0x54 for 20x4 display LINE 0x00 0x40 fo...

Страница 8: ...bool data 0x80 def SendByte data charMode False send one byte to LCD controller GPIO output LCD_RS charMode set mode command vs char SendNibble data send upper bits first PulseEnableLine pulse the en...

Страница 9: ...TCURSOR addr Main Program print LCD program starting Press CTRL C to stop InitIO InitLCD ShowMessage Press a button while True GotoLine 1 switchValues CheckSwitches decimalResult d d d d switchValues...

Страница 10: ...st install a library for the display You can do this in the console with the following command It may be necessary to manually adjust the contrast before you can see an output on the display Adjust th...

Страница 11: ...n do this with the following command in the Raspberry Config Select the option Interfacing Options with the key Enter Then you have to select the option I2C You have to confirm the next message with Y...

Страница 12: ...20 4 Instantiate LCD Display lcd Adafruit_CharLCD lcd_rs lcd_en d4 d5 d6 d7 cols lines gpio GPIO lcd clear lcd message xx RB LCDV2 Test xx n 1234567890 n abcdefgh n 0987654321 You can save the file wi...

Страница 13: ...hase If there are any questions left or if you encounter any problems please feel free to contact us by mail phone or by our ticket supportsystem on our website E Mail service joy it net Ticket System...

Отзывы: