Difference between revisions of "XIAO-ESP32S3"
(→code) |
(→code) |
||
| Line 29: | Line 29: | ||
=== code === | === code === | ||
| − | [[File:Grove Base for XIAO 1.PNG| | + | [[File:Grove Base for XIAO 1.PNG|150px]] |
[[File:XIAO-ESP32S3 1.PNG|100px]] | [[File:XIAO-ESP32S3 1.PNG|100px]] | ||
[[File:OLED-Display-0-96-SSD1315.png|100px]] | [[File:OLED-Display-0-96-SSD1315.png|100px]] | ||
Revision as of 22:39, 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
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!");
}