Difference between revisions of "XIAO-ESP32S3"
(→code) |
(→Hello World! [Code]) |
||
| Line 31: | Line 31: | ||
[[File:Grove Base for XIAO 1.PNG|200px]] | [[File:Grove Base for XIAO 1.PNG|200px]] | ||
[[File:XIAO-ESP32S3 1.PNG|125px]] | [[File:XIAO-ESP32S3 1.PNG|125px]] | ||
| − | [[File:OLED-Display-0-96-SSD1315.png| | + | [[File:OLED-Display-0-96-SSD1315.png|175px]] |
Grove Base for XIAO<br> | Grove Base for XIAO<br> | ||
Revision as of 20:00, 27 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
Hello World! [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!");
}