
Serial.begin(9600) // See the connection status in Serial MonitorĭigitalWrite(SDCARD_CS, HIGH) // Deselect the SD cardīlynk.begin(auth) // Here your Arduino connects to the Blynk Cloud. OneWire ds(47) // on pin 7 (a 4.7K resistor is necessary) make sure you change this from the original pin 10 to an unused pin.Ĭhar auth = "**********************cc79" // Put your Auth Token here. #include // This part is for Ethernet stuff #define BLYNK_PRINT Serial // Enables Serial Monitor The DallasTemperature library can do all this work for you! When writing a library that provides byte-stream communication, inherit Arduino's Stream class, so your library can be used with all other libraries that accept Stream. See Firmata 2.3 or XBee 0.4 for examples of each approach. I have cleaned up the syntax and cleared out the redundant parts of your code… it compiles fine now, but I do not have the sensors or the Ethernet shield to test, so you need to take it from here again // OneWire DS18S20, DS18B20, DS1822 Temperature Example The Stream object can be passed to your library's constructor or to a begin function (as a reference, not a pointer). PS, I volunteer here… I have no job or income due health issues… so please relax and be thankful someone is helping this much. And if I can do that in my current foggy headed health, then I am sure you can in time as well.

Don’t be making so many assumptions I am still learning to code and have to spend much of my time Googling, reading and staring at example code, trying to pieces each puzzle part together.
