BRICK IR pin configuration - arduino infrared decode

Contributor
Submitted by techrev on Tue, 03/07/2017 - 05:55
Forums

brick ir

(G) Ground = Black, (V) Voltage = Red, (S) Signal = White.

decoded values

 case 0xFF4AB5:  //0 ok
  l[ic2] = 0;
 //  irtest = 0;
  //  Serial.println(l[ic2]);
   lcd.setCursor(ic2,0);
   lcd.print(l[ic2]);
     break;


  case 0xFF6897:  //1 ok
   // irtest = 0;
   l[ic2] = 1;
 //  Serial.println(l[ic2]);
  lcd.setCursor(ic2,0);
    lcd.print(l[ic2]);
        break;

  case 0xFF9867:  //2 ok
 //   irtest = 0;
   l[ic2] = 2;
 // Serial.println(l[ic2]);
 lcd.setCursor(ic2,0);
  lcd.print(l[ic2]);
    break;

  case 0xFFB04F:  //3 ok
 //   irtest = 0;
  l[ic2] = 3;
 //Serial.println(l[ic2]);
  lcd.setCursor(ic2,0);
   lcd.print(l[ic2]);
    break;

  case 0xFF30CF: //4 ok
  //  irtest = 0;
   l[ic2] = 4;
//Serial.println(l[ic2]);
 lcd.setCursor(ic2,0);
   lcd.print(l[ic2]);
     break;

  case 0xFF18E7:  //5 ok
  //  irtest = 0;
     l[ic2] = 5;
 //Serial.println(l[ic2]);
    lcd.setCursor(ic2,0);
   lcd.print(l[ic2]);
     break;

  case 0xFF7A85:  //6 ok
   // irtest = 0;
     l[ic2] = 6;
 //Serial.println(l[ic2]);
  lcd.setCursor(ic2,0);
   lcd.print(l[ic2]);
    break;

  case 0xFF10EF:  //7 ok
  //  irtest = 0;
  l[ic2] = 7;
 // Serial.println(l[ic2]);
  lcd.setCursor(ic2,0);
  lcd.print(l[ic2]);
    break;

  case 0xFF38C7:  //8 ok
   // irtest = 0;
    l[ic2] = 8;
 // Serial.println(l[ic2]);
 lcd.setCursor(ic2,0);
   lcd.print(l[ic2]);
    break;

  case 0xFF5AA5:  //9 ok
   // irtest = 0;
    l[ic2] = 9;
  // Serial.println(l[ic2]);
   lcd.setCursor(ic2,0);
    lcd.print(l[ic2]);
    break;