DmxSimple icon indicating copy to clipboard operation
DmxSimple copied to clipboard

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

Open Paragrom opened this issue 3 years ago • 0 comments

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 <DmxSimple.h>

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.

Paragrom avatar Feb 05 '22 20:02 Paragrom