const int ledPin = 25;
const int freq = 5000;
const int ledChannel = 0;
const int resolution = 8;
int ram = 255;
void setup() {
pinMode(25, OUTPUT);
ledcSetup(ledChannel, freq , resolution );
ledcAttachPin(ledPin, ledChannel);
Serial.begin(115200);
}
void loop() {
ledcWrite(ledChannel,ram);
Serial.printf("0, 255, %d\n",ram);
delay(15);
}