Subversion Repositories Projects

Rev

Rev 1756 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

Light Sequence Template:

Created by / Erstellt von:  "Magomora"

Explanation / Erklärung:
----------------------------------------------
flashingCircle Rückwärtz
----------------------------------------------

Command / Befehl:
----------------------------------------------
flashingCircleRev( r, g, b, wait);
----------------------------------------------


Code:
----------------------------------------------
void flashingCircleRev( uint8_t r, uint8_t g, uint8_t b, uint8_t wait) { 
  uint8_t ri1, ri2, ri3, ri4, ri5, ri6, ri7, ri8;
  
  for (uint8_t j = riggerSize; j > 0 ; j--){
        strip.setPixelColor(j-1, r, g, b, 1, 1, 1, 1, 1, 1, 1, 1);
        strip.show();
        delay ( wait );
        strip.setPixelColor(j-1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1);
        strip.show();
        delay ( wait/2 );
         
  }
}
----------------------------------------------