hello all ... I want to ask about the program..
what is the function of the "# include <avr/power.h>"
"# Include <TinyWireM.h>"
"if (F_CPU == 16000000) clock_prescale_set (clock_div_1); / / 5V Trinket: run at 16 MHz"
please help
thanks
irfan
hello all ... I want to ask about the program..
what is the function of the "# include <avr/power.h>"
"# Include <TinyWireM.h>"
"if (F_CPU == 16000000) clock_prescale_set (clock_div_1); / / 5V Trinket: run at 16 MHz"
please help
thanks
irfan
The #include <filename.h> or #include "filename.h" expressions are preprocessor directives that tell the compiler to locate those header files and read them into the sketch's source code. The angle brackets (<>) tell the compiler to look in the default libraries directory for the header file. The default libraries directory is a subdirectory located where the Arduino IDE executable file (arduino.exe) is located. If the directive uses double quotations (""), the compiler looks for the header file in the current working directory where the sketch that is being compiled is located. The header file contains information the compiler needs to properly compile the source code file of the sketch.