 
 // IR
 
-/*
- Standalone Sketch to use with a Arduino UNO and a
- Sharp Optical Dust Sensor GP2Y1010AU0F
-*/
-  
-int measurePin = A6; //Connect dust sensor to Arduino A0 pin
-int ledPower = 2;   //Connect 3 led driver pins of dust sensor to Arduino D2
-  
-int samplingTime = 280;
-int deltaTime = 40;
-int sleepTime = 9680;
-
-int voMeasured = 0;
-float calcVoltage = 0;
-float dustDensity = 0;
-
-// IR
-
+// ------------------------------------------
+
+// IR
 void ac_send_code(unsigned long code)
 {
   Serial.print("code to send : ");

// 2 : high
// 3 : rotate

const int AC_FLOW_TOWER[4] = {0, 4, 6, 12};
const int AC_FLOW_WALL[4]  = {0, 2, 4, 5};


  digitalWrite(ledPower, HIGH); // turn the LED off
  delayMicroseconds(sleepTime);

// ------------------------------------------
/* test
  ac_activate(25, 1);
  delay(5000);
  ac_activate(27, 0);
  delay(5000);
*/
  
  if ( r != o_r) {

    /*
