![]() #MicroPython SSD1306 OLED driver, I2C and SPI interfaces created by Adafruitĭef _init_(self, width, height, external_vcc): So, you need to upload the library to your Raspberry Pi Pico board. The library to write to the OLED display isn’t part of the standard MicroPython library by default. ![]() You can also use the following schematic diagram as a reference. We’re using GPIO 4 (SDA) and GPIO 5 (SCL) as I2C pins, but you can use any other pair of I2C pins (make sure you check the Raspberry Pi Pico pinout diagram). You can use the following table as a reference. The OLED display uses I2C communication protocol, so wiring is pretty straightforward. You can use the preceding links or go directly to /tools to find all the parts for your projects at the best price! Here’s a list of parts you need for this project: ![]() There are models that come with an extra RESET pin or that communicate using SPI communication protocol. The model we’re using has four pins and communicates with any microcontroller using I2C communication protocol. Additionally, its pixels consume energy only when they are on, so the OLED display consumes less power when compared to other displays. The OLED display doesn’t require backlight, which results in a very nice contrast in dark environments.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |