   
   if (++anim->frame >= anim->num_frames) {
     if (--anim->repeat <= 0) {
-      analogWrite(LED1, 0);
-      analogWrite(LED2, 0);
-      analogWrite(LED3, 0);
+      analogWrite(LED1, 255); // 255 -> LED off 
+      analogWrite(LED2, 255);
+      analogWrite(LED3, 255);
       set_next_state(STATE_ANIMATION_DONE);
     } else {
       CONSOLE.print("REPEAT: ");


/* MAXBOTIX Analog pin */
// #define MAXBOTIX  A12 //A12 for teensy
#define MAXBOTIX  A0 // A0...7 for Arduino


/* Zones:

//Rx16Response rx16 = Rx16Response();

/* High Power LED BUCKPUCK Control pins */
#define LED1  3
#define LED2  5
#define LED3  6

#define CONSOLE   Serial
//#define XBEEUART  Serial2
