X-Git-Url: https://vault307.fbx.one/gitweb/RPI-PICO-I2C-LCD.git/blobdiff_plain/0994b72e369f4e4f0823de4f3783365f6c41ab14..5df3b96f4c56fbf30e5fa14d2fc32104915d6056:/README.md?ds=inline diff --git a/README.md b/README.md index a04e1fd..d405ec7 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,10 @@ Usage: - Open Thonny IDE with the 3 files - Make pin edits or setup changes (See below for options) - DO NOT EDIT FILE NAMES! -- In Thonny, go to top menu File => Save Copy => Raspberry Pi Pico and save each .py file to the board. -- Switch to the main.py and click run. This should be able to initalize the LCD display if settings are right. +- In Thonny, go to top menu File => Save Copy => Raspberry Pi Pico and save each file to the board with the same name as downloaded and with a .PY extension when saving it to the board. +- Switch to the pico_i2c_lcd_test.py (this is the main file) and click run. This should be able to initalize the LCD display if settings are right. - If you get errors, see below for a known list of errors and their fixes +- Wiring Diagram LCD_bb.jpg! Please look here for a fritzing diagram! Requirements: - 3.3 - 5V level translator. This is crucial to encure the lcd recieves the commands properly. I recommend this: https://www.adafruit.com/product/757 (Must be Bi-Directional) @@ -34,7 +35,16 @@ in my case, the decimal addr. was 39 which converts to 0x27 in hex. - Finally, assure the I2C_NUM_ROWS and I2C_NUM_COLS are set properly! Usage: + Printing is simple :lcd.putstr("") This requires a string input! if you want to feed a changing value such as a temperature, it must be: lcd.putstr(str(Variable)) Errors: + OSERROR : 5 (This is quite a common error, 5 means I/O error. Check Your connections. This means codes can't be sent or recieved ensure SCL and SDA are properly connected through the level translator! + +Feel to leave comments or questions / issues and I will try to answer / resolve them as quick as possible! + +For people wondering how to use this code, Tinkernut on Youtube created a very nice guide + some more features! https://www.youtube.com/watch?v=B8Kr_3xHjqE&t + +Announcements / updates: +- Thonny library package coming soon!