Advertisement
claudiusmarius

Claudiusmariusblink01-ATtiny84

Feb 28th, 2021
463
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.14 KB | None | 0 0
  1.  //****************************************************************************************************************************************************
  2.   //+++++++++++++++++ Programme de test ATtiny84 permettant de vérifier le bon fonctionnement du Programmateurr ATtiny Claudiusmarius ++++++++++++++++++
  3.   //=========================================================            Claude DUFOURMONT             =================================================
  4.   //----------------------------------   YouTube :      https://www.youtube.com/channel/UCvr9eb05lJow6N7m3SKqvNw    ------------------------------------
  5.   //--------------------------------------------------------------- claude.dufourmont@laposte.net ------------------------------------------------------  
  6.  
  7.   int LED = 9;
  8.  
  9.   void setup ()
  10.   {
  11.   pinMode (LED, OUTPUT);
  12.   }
  13.  
  14.   void loop ()
  15.   {
  16.   for (int i = 0 ; i < 10 ; i++)
  17.   {
  18.   digitalWrite (LED, HIGH);
  19.   delay (1000);
  20.   digitalWrite (LED, LOW);
  21.   delay (1000);
  22.   }
  23.  
  24.   delay(50);
  25.  
  26.   for (int i = 0; i< 50; i++)
  27.   {
  28.   digitalWrite (LED, HIGH);
  29.   delay (100);
  30.   digitalWrite (LED, LOW);
  31.   delay (100);
  32.   }
  33.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement