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

EK-1


               <!DOCTYPE html>

               <html>

               <head>
               <title>Arduino - PHPoC Shield - Thermometer</title>

               <meta name=”viewport” content=”width=device-width, initial-scale=0.7, maximum-scale=0.7”>

               <meta charset=”utf-8”>

               <style>

               body { text-align: center; font-size: width/2pt; }
               h1 { font-weight: bold; font-size: width/2pt; }

               h2 { font-weight: bold; font-size: width/2pt; }

               button { font-weight: bold; font-size: width/2pt; }

               </style>

               <script>
               var canvas_width = 200, canvas_height = 450;




               var ws;

               var buffer = “”;



               function init()

               {

                  var canvas = document.getElementById(“remote”);






                                                                                                                     343
   346   347   348   349   350   351   352   353   354   355   356