Page 360 - Tasarım Beceri Atölyeleri Öğretmen El Kitabı
P. 360

</h2>




               </body>
               </html>

               EK-2

               #include <OneWire.h>

               #include <DallasTemperature.h>

               #include “SPI.h”
               #include “Phpoc.h”




               // Data wire is plugged into port 8 on the Arduino

               OneWire oneWire(8);

               DallasTemperature sensors(&oneWire);



               PhpocServer server(80);

               boolean alreadyConnected = false;




               void setup() {

                  Serial.begin(9600);
                  while(!Serial)

                          ;









           352
   355   356   357   358   359   360   361   362   363