About using sample code of DFR 0300

userHead negishi_s0904 2016-12-09 22:02:24 1769 Views5 Replies
Hi, I installed "OneWire" library and tried to compile the sample code. However, 'TempProcess' was not declared in this scope' is displayed and compilation is not possible. How can I use the sample code? My system is Arduino: 1.6.12 (Windows 10), board: "Arduino / Genuino Uno".
2016-12-19 10:07:09 I am glad to hear that. :) userHeadPic Wendy.Hu
2016-12-18 00:13:23 Hi

At least, the same problem occurred on two windows 10 PC (IDE 1.6.12).
According to the advice, after moving the sentence after "float TempProcess (bool ch)" before 'void setup ()',
I can measure normally.

Thank you very much.
userHeadPic negishi_s0904
2016-12-14 10:51:50 Hi,

Its a little strange. I downloaded the IDE 1.6.12, then can upload the code properly. Or Its related to the PC? I got a reply from my colleague that you can try put the 'TempProcess' function in front of 'the void setup()' to try again. Probably its a logical problem.

Hope this will help you. :)
userHeadPic Wendy.Hu
2016-12-13 17:19:13 Hi

Thank you for your help.
I was able to compile with IDE 1.6.8.
However, I could not compile with the latest version of IDE 1.6.13.
userHeadPic negishi_s0904
2016-12-12 18:51:25 Hi

Sorry for the late reply.
I guess probably its the problem of the IDE version, I tested the sample code with the IDE 1.6.8, then no problem. Maybe you can try to download the other version IDE to upload again. And I will download the IDE 1.6.12 to try again. Any update I will reply you quickly.

Let me know if you have any problem. :)
userHeadPic Wendy.Hu