I am new to Arduino and electrical circuts as a whole but I am trying to get a thermistor to work with the Arduino and I have found some codes, but I cannot figure out how to include the #include <math.h> file or what I need to do to include it. I went through all the library files on my Arduino window via sketch-> import library but the math.h file is not one of the available files. I have searched everywhere but cannot figure it out. Thanks to anone who can help.
-H-
hmmmm I just insert this code into the Arduino sketch and compile right...?
I didn't get any error message but the math.h file isn't red like the other .h files... is this right...?
If so maybe I have the thermistor set up wrong. I have one wire to pos and a 10k ohm resistor to neg and the other side of resistor connecting to a horizontal line with the 0 pin and the other wire of the transistor.
If it didn't give you an error, then it probably read math.h just fine. You need to use the "import library" command for "third party" libraries from arduino-specific locations, but math.h is a standard C thing, and the compiler knows how to find it without any special help...