/*
TinyPico RGB Color Cycling demo
https://wokwi.com/arduino/projects/308012505806930496
*/
#include <TinyPICO.h>
TinyPICO tp = TinyPICO();
void setup() {
Serial.begin(115200);
Serial.println("Hi, TinyPico!");
Serial.println("--");
Serial.print("Total PSRAM:");
Serial.println(ESP.getPsramSize());
Serial.print("Free PSRAM: ");
Serial.println(ESP.getFreePsram());
tp.DotStar_Clear();
tp.DotStar_SetBrightness(255);
}
void loop() {
tp.DotStar_CycleColor(25);
delay(10); // speeds up simulation
}
esp:25
esp:26
esp:27
esp:15
esp:14
esp:4
esp:3V3
esp:5V
esp:GND.1
esp:BAT
esp:GND.2
esp:RST
esp:33
esp:32
esp:21
esp:22
esp:5
esp:18
esp:19
esp:23