![]() ![]() On an arduino LEONARDO: 2(SDA), 3(SCL). The pins for I2C are defined by the Wire-library. Declaration for an SSD1306 display connected to I2C (SDA, SCL pins) #define SCREEN_HEIGHT 64 // OLED display height, in pixels #define SCREEN_WIDTH 128 // OLED display width, in pixels With contributions from the open source community.īSD license, check license.txt for more informationĪll text above, and the splash screen below must be Written by Limor Fried/Ladyada for Adafruit Industries, Hardware by purchasing products from Adafruit! Source code, please support Adafruit and open-source This example is for a 128圆4 pixel display using I2C to communicateģ pins are required to interface (two I2C and one reset).Īdafruit invests time and resources providing this open Everything compiles and downloads well, and everything else works (Interrupts, rotary encodes, keyboard, inputs and outputs etc) except the I2C on pins A5 & A5. This is an example for our Monochrome OLEDs based on SSD1306 drivers hampiradio July 4, 2020, 4:01am 1 I am moving from the standard Nano to a Nano every. I use the official example from Adafruit, attached is the code. I am currently trying to get a SBC-OLED01 display to run under my Arduino Nano RP2040.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |