Difference between revisions of "XIAO-ESP32S3"
(→code) |
(→code) |
||
| Line 32: | Line 32: | ||
[[File:XIAO-ESP32S3 1.PNG|100px]] | [[File:XIAO-ESP32S3 1.PNG|100px]] | ||
[[File:OLED-Display-0-96-SSD1315.png|150px]] | [[File:OLED-Display-0-96-SSD1315.png|150px]] | ||
| + | |||
| + | Grove Base for XIAO<br> | ||
| + | XIAO-ESP32S3<br> | ||
| + | OLED-Display-0-96-SSD1315<br> | ||
<b>Hello World!</b> | <b>Hello World!</b> | ||
Revision as of 22:42, 25 May 2025
Support
XIAO-ESP32S3
Liens externes
https://www.seeedstudio.com/XIAO-ESP32S3-p-5627.html shop
https://wiki.seeedstudio.com/xiao_esp32s3_getting_started wiki
code
Grove Base for XIAO
XIAO-ESP32S3
OLED-Display-0-96-SSD1315
Hello World!
#include <Arduino.h>
#include <U8x8lib.h>
#include <Wire.h>
U8X8_SSD1306_128X64_NONAME_HW_I2C u8x8(/* clock=*/ SCL, /* data=*/ SDA, /* reset=*/ U8X8_PIN_NONE); // OLEDs without Reset of the Display
void setup(void) {
u8x8.begin();
u8x8.setFlipMode(1); // set number from 1 to 3, the screen word will rotary 180
}
void loop(void) {
u8x8.setFont(u8x8_font_chroma48medium8_r);
u8x8.setCursor(0, 0);
u8x8.print("Hello World!");
}