What is the use of the Arduino.h header file?

Ngân Lam

New member
What is the use of the Arduino.h header file?
A. It gives root access to the microcontroller’s file system
B. It enables the programmer to access all of Arduino’s core functionality
C. It allows other people to create libraries for the Arduino code
D. It doesn’t have any use and can be omitted at any point of time in the code
 
Answer: B
Explanation: The Arduino.h file is not something that we encounter during the process of writing the code for the Arduino board because the preprocessor takes care of it before compilation. However, it is a very important file without which we cannot access the Arduino’s features like GPIO IO, Analog IO, etc.
 

Tìm kiếm

Back
Top