PaulStoffregen / DmxSimple

99 stars 21 forks source link

ESP 32 -fatal error: avr/io.h- #25

Open Paragrom opened 2 years ago

Paragrom commented 2 years ago

Hey,

I try to test the sketch FadeUp. But if i want to check the file i get always the Error: Arduino: 1.8.13 (Windows 10), Board: "Node32s, 80MHz, 921600"

C:\Users\larsd\OneDrive\Dokumente\Arduino\libraries\DmxSimple\DmxSimple.cpp:7:20: fatal error: avr/io.h: No such file or directory compilation terminated. exit status 1

I am new at Arduino and i use this sketch:

include

void setup() { DmxSimple.usePin(4);

DmxSimple.maxChannel(4); }

void loop() { int brightness; for (brightness = 0; brightness <= 255; brightness++) {

DmxSimple.write(1, brightness);
delay(10);

} }

Could you help me to find the Error? I'm sorry for my bad english.