X-Git-Url: https://vault307.fbx.one/gitweb/RPI-PICO-I2C-LCD.git/blobdiff_plain/3b03efa5dea5e2711bb92771ab3b20e845d6f9a5..5c8654ec64d7a39594bd69abf4f790dc79f2b549:/README.md diff --git a/README.md b/README.md index 6ccf2b8..46e9939 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ This is a project which adapts code from another user to allow usage of the PCF8 Credit: https://github.com/dhylands/python_lcd/tree/master/lcd mostly to Dave Hylands for the basic api and lcd driver code. +Project: Check it out for a full step-by-setp guide on Instructables: https://www.instructables.com/RPI-Pico-I2C-LCD-Control/ + This is code adaptded for micropython and the Raspberry Pi PICO specifically. Usage: @@ -43,7 +45,7 @@ These are the python commands used in a program! (They can all be found in the l - lcd.backlight_on() / lcd.backlight_off() - Turn on / Off backlight of the LCD (Controlled by a small transistor on the backpack) - lcd.display_on() / lcd.display_off() - Turn on / Off the display (Not backlight but the entire chip) - lcd.clear() - Clear all chars or anything written to the display -- lcd.move_to(Row, Col) - Move to position based on row and col values (X, Y) +- lcd.move_to(Col, Row) - Move to position based on row and col values (Y, X) - lcd.custom_char(Num, bytearray([HEX chars]))) - Num can be any integer 0 - 8 (Writing to CGRAM locations) merely used for numbering. The HEX chars are simply made by using this link: https://maxpromer.github.io/LCD-Character-Creator/. It will provide a string of Hex charecters which can replace the "HEX chars" in the example command. Errors: