상품명 | [DM023] 0.96인치 OLED 모듈 |
---|---|
판매가 | 7,500원 |
상품요약정보 | 다두블럭 테크닉 모듈 |
배송방법 | 택배 |
배송비 | 3,000원 (70,000원 이상 구매 시 무료) |
수량 |
SNS 상품홍보 | |
---|
(최소주문수량 1개 이상 / 최대주문수량 0개 이하)
사이즈 가이드할인가가 적용된 최종 결제예정금액은 주문 시 확인할 수 있습니다.
제품사양
전압: 3~5V
I2C
통신으로 제어
SSD1306
제어 IC사용
이미지
아두이노 소스코드
#include <SPI.h> #include <Wire.h> #include
<Adafruit_GFX.h> #include
<Adafruit_SSD1306.h>
Adafruit_SSD1306 display =
Adafruit_SSD1306(128, 32, &Wire);
void setup() { Serial.begin(9600);
Serial.println("OLED FeatherWing
test"); // SSD1306_SWITCHCAPVCC = generate display
voltage from 3.3V internally display.begin(SSD1306_SWITCHCAPVCC, 0x3C);
// Address 0x3C for 128x32
Serial.println("OLED begun");
// Show image buffer on the display
hardware. // Since the buffer is intialized with an
Adafruit splashscreen // internally, this will display the
splashscreen. display.display(); delay(1000);
// Clear the buffer. display.clearDisplay(); display.display();
Serial.println("IO test");
// text display tests display.setTextSize(1); display.setTextColor(SSD1306_WHITE); display.setCursor(0,0); display.print("hello daduino"); display.display(); // actually display all
of the above }
void loop() {
} |
상품의 사용후기를 적어주세요.
게시물이 없습니다
상품에 대해 궁금한 점을 해결해 드립니다.
게시물이 없습니다