Page 103 - MDP2020-2
P. 103

················································································  명장양성프로젝트  【MDP】  과제발표회  자료집  Ⅱ    |  97



              secondBeat  =  false;
              BPM  =  0;
              IBI  =  0;
              }
              sei();
            }


            void  setup()  {
              x  =  0;
              for(int  x  =  0;  x  <  LENGTH;  x++){
              y[x]  =  35;
              }
              interruptSetup();
            }


            void  loop()  {
              if  (QS  =  true)  {
              y[x]  =  map(Signal,  0,  1023,  HEIGHT,  15);
              u8g.firstPage();
              do  {
              drawY();
              draw();
              }  while(  u8g.nextPage()  );
              x++;
              if(x  >=  WIDTH){
              x  =  0;

              clearY();
              }
              }  QS  =  false;
            }





            2.  실제사진
   98   99   100   101   102   103   104   105   106   107   108