I am new to spark core,my application is to read 4 temperature values and to display the temperature values to the user.how to program and to display the temperature readings,please help me out.
Ok, so I’m new. I am also trying to make a temperature-reading program. I am having trouble “translating” my volt/amp intake into actual Fahrenheit. I have the rest of it figured out. I need to find a library or something to help.
This is the same as a DHT22, isn't it?
If so, there are some libraries that do already give you Fahrenheit, but it's not an analog reading but a digital protocol.
Yes I have found out that much, the DHT22 is the same as aosong 2303.
I have found how to add libraries to my project with #include but I don’t know how to use them from there.
.
?? digital protocol ??
I’m new sorry bear with me
Thank you!
The libraries usually include an example .ino file that you should look at to see how to use the library. Both the PietteTech_DHT and Adafruit_DHT libraries have example code.
This sensor is a "smart" thing. It takes analog measurements and "translates" them into a digital stream of bits which then can be read on any digital pin as long you know what this stream of bits means (that's a protocol). And this is where the mentioned libraries come in, since they spare you the need to understand the protocol, since they already do and give you high level access to the extracted data.
BTW, #include alone does not add the library to your project. You need to do that via the Library drawer (bookmark icon) and the INCLUDE IN PROJECT button.
Some minimal coding skills will be required to pull off any project here.
I’m afraid, but this is not a free online course for how to get started with programming from scratch.
The keywords with the () are called functions provided/exposed by the library.
The words on the left side of the assignment or equality operators are variables.