Jeffs4653 commented on 14 Feb 2017
Having gotten the program to work with two SSD1306 128x64 0.96" displays, I'm trying to move forward with the actual second display I wish to use. This is an Adafruit Featherwing OLED display which is listed as a SSD1306 128x32 I2C. I find no direct constructor for a display of this dimension on the 1306 (I saw one for the SSD1305, but it didn't work properly.) My desire is to use a primary display of 128x64: and the secondary display of 128x32, which would be something like: As of now the second constructor 'U8G2_SSD1306_128X32_NONAME_F_HW_I2C' does not name a type. Also, I belive I found some errors in the documentation for the constructors. There are many listed as: https://github.com/olikraus/u8g2/wiki/u8g2setupcpp#ssd1306-128x64_noname |
실제적으로 Constructor 에 의해서 인자값이 여러개로 다른 형태로 주어질 수 있지만, 그건 미리 사전정의된 함수명에 의해서 인자의 갯수가 달라지도록 정의되어 있다.
olikraus commented on 14 Feb 2017
The Featherwing OLED is actually a Univision OLED, the constructors are something like this. In the example, the FeatherWing OLED is also named. //U8G2_SSD1306_128X32_UNIVISION_1_SW_I2C u8g2(U8G2_R0, /* clock=/ 21, / data=/ 20, / reset=/ U8X8_PIN_NONE); // Adafruit Feather M0 Basic Proto + FeatherWing OLED Yes, this was newly introduced for the ESP8266 --> #158 |
Featherwing OLED 는 실제적으로 Univision OLED 라고 서술하고 있다.
'홍익인간 프로젝트 > Arduino C' 카테고리의 다른 글
[아두이노] GPS 모듈의 사용 1편 - GPS 로그 찍어보기 (0) | 2020.12.07 |
---|---|
Wire Library (0) | 2020.12.01 |
SSD1306 dual I2C display (0) | 2020.12.01 |
How to Drive the SSD1306 OLED LCD display (0) | 2020.12.01 |
setI2CAddress U8G2 (0) | 2020.12.01 |