#define RED_PIN 25
#define GREEN_PIN 26
#define BLUE_PIN 27
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
pinMode(BLUE_PIN, OUTPUT);
pinMode(GREEN_PIN, OUTPUT);
pinMode(RED_PIN, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}
void setRGBColour()
{
analogWrite(RED_PIN, random(0,150));
analogWrite(GREEN_PIN, random(0,224));
analogWrite(BLUE_PIN,random(0,60));
}