U8X8_GP1287AI_256X50_4W_SW_SPI u8x8(/* clock=*/ 0, /* data=*/ 2, /* cs=*/ 14, /* dc=*/ 4, /* reset=*/16);
If your board is never used with ch55xduino before, you need to make the ch55x chip enter bootloader mode. You need to disconnect USB and unpower ch55x, connect the pull-up resistor on D+ line (generally a 10K resistor between D+ and 5V, controlled by a push-button or adjacent pads). Then you connect USB. and hit Upload. Also, a blank new chip will enter the bootloader automatically.
Kresmo is an Arduino sketch that uses an OpenAI-compatible API to generate a random and brief pithy saying. The sketch uses the U8g2 library for displaying text on an OLED screen, and the WiFi library for connecting to the internet. The ESP32-C3-0.42 module combines all this hardware into one tiny board.
onnect:
⇒ Ground = Pin G
⇒ Operating Voltage = Pin V
⇒ data = pin T
⇒ Power On/Off = Pin P1
⇒ PIN P1 is an on/off switch and must be set to logic low.