Skip to content

Instantly share code, notes, and snippets.

/*WS2812 RGB blink buit-in led
Tested with esp32-arduino v 2.0.3 & v 2.0.5 library on generic esp32s3 purble board
https://raw.githubusercontent.com/cosismo/esp32-s3/gh-pages/Purple-S3-pinout.png
Relevant Arduino IDE config:
Flash Mode: DIO 80MHz
Flash Size: 16MB (128Mb)
PSRAM: QSPI PSRAM
Partition Scheme: 16MB Flash (3MB APP /9.9MB FATFS)
@cosismo
cosismo / BlinkRGB5050-NodeMCU-ESP-S3-12K.ino
Last active June 16, 2023 17:04
Blink rgb 5050 led AI Thinker NodeMCU-ESP-S3-12K-Kit ESP32S3 ESP32 S3
/* Simple Arduino LED blink example sketch for built-in
RGB 5050 LED on the AI Thinker NodeMCU-ESP-S3-12K-Kit
This example is in the Public Domain
Cosismo IoT | Github: cosismo
*/
#define led_r_pin 5
#define led_g_pin 6
#define led_b_pin 7
@cosismo
cosismo / Open-SmartwatchHelloWorld.ino
Last active December 12, 2024 05:09
The Hello World Arduino GFX Library example with the correct parameters for Open-Smartwatch hardware
/*******************************************************************************
* Start of Arduino_GFX setting
*
* Arduino_GFX try to find the settings depends on selected board in Arduino IDE
* Or you can define the display dev kit not in the board list
* Defalult pin list for non display dev kit:
* Arduino Nano, Micro and more: TFT_CS: 9, TFT_DC: 8, TFT_RST: 7, TFT_BL: 6
* ESP32 various dev board : TFT_CS: 5, TFT_DC: 27, TFT_RST: 33, TFT_BL: 22
* ESP8266 various dev board : TFT_CS: 15, TFT_DC: 4, TFT_RST: 2, TFT_BL: 5
* Raspberry Pi Pico dev board : TFT_CS: 17, TFT_DC: 27, TFT_RST: 26, TFT_BL: 28
@cosismo
cosismo / LoRa_FAQ_sp.txt
Last active March 19, 2018 17:42
LoRa FAQ Preguntas Frecuentes
LoRa FAQ en español
Este es un documento preliminar, basado en las experiencia directas del autor en esta tecnología emergente. Seguramente el contenido será cambiante.
Historia de este documento:
v0.1 13/03/2018 Primera versión
Preguntas frecuentes
¿Qué es LoRa?