I'm using a VFD display from noritake, specifically a GU-7000, and their library from here.
I had the display working on my Arduino Nano, but when I switched over to my Arduino Nano ESP32, I started running into issues. I have tried a few things for about an hour or so with no luck.
I guess what is confusing, is that my Nano finds (or still compiles) #include <util/delay.h> but my nano ESP32 cannot?
Full error message:
/private/var/folders/jd/_9zpv4fn2w3_hh_zvgw4kp740000gn/T/.arduinoIDE-unsaved2024312-13913-63kv5p.0lbks/sketch_apr12b/sketch_apr12b.ino:1:10: fatal error: util/delay.h: No such file or directory
#include <util/delay.h>
^~~~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: util/delay.h: No such file or directory
just to show that is works for my Nano but not my ESP32 Nano.
It's a header included in a library I'm trying to use. I thought I could simplify my problem and confusion with the test code I pasted
Changing the selected board in the Arduino IDE causes the IDE to look in different paths for some libraries. Thus, what compiles for one board may not compile for another
You still have not answered why you are #including delay.h
That is plainly a library intended to be used with AVR processors such as that found on the classic Nano. The Nano ESP32 does not, of course, use an AVR processor, hence the problem
My conclusion would be that the libraries that you are using are not compatible with the ESP32 processor