Blogger

Delete comment from: Ken Shirriff's blog

Anonymous said...

@Lauszus

This is what I have so far but no luck.

Sorry, new to this.

Do i need to edit the Lib send raw function then?

#include

#include

IRsend irsend;

PROGMEM prog_uint16_t chUP[100]
= {
4650,4450,550,450,600,400,600,400,600,450,550,1400,600,1400,600,450,550,450,600,400,600,1400,600,400,600,1400,600,1400,600,400,600,400,600,450,550,4450,600,400,600,450,550,450,600,400,600,400,600,1400,600,1400,600,400,600,450,550,450,600,1400,550,1450,550,1450,550,450,600,400,600,1400,600,1400,600,1400,550,450,600,400,600};

void setup()
{
Serial.begin(9600);
}

void loop() {

unsigned int chupInt;
chupInt = pgm_read_word_near(chUP);

irsend.sendRaw(chupInt, 100, 12); // Channel down
delay(2000);
irsend.sendRaw(chupInt, 100, 12); // Channel down
delay(2000);

}

Jun 22, 2012, 11:12:01 AM


Posted to A Multi-Protocol Infrared Remote Library for the Arduino

Google apps
Main menu