Hello Techies,
Can anyone where I can find Arduino.h header file in Arduino?
I am using Windows OS.
Mine is here :
Z:\Andrea\Work\Arduino-Classes\ArduinoCustom\arduino-1.8.13\hardware\arduino\avr\cores\arduino\Arduino.h
It can depend on how you have the Arduino IDE installed, and how many cores you have installed, I have several copies of Arduino.h all on my Y: drive.
I know they are there because I used the file search tool in Windows to find them.
To find the one that is being compiled and used, preference check the "verbose output during compile" box, and compile.. you'll find all the core files that it's using listed in the output.
Arduino.h is specific to the core - (and in terms of how it's organized, and how much it does vs how much it farms out to other files vs leaves undone varies very widely) The IDE comes with the baisc AVR core. anything updated or installed through board manager will be with the rest of that package in your Arduino15 folder (C:/users/yourusername/appdata(hidden folder()/localArduino15.... etc.
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.