Single Button IR Remote

Kurayamino:
but what shall I do about unit16?

Make it uint32_t ?

Ahhh I see it's refering to the byte size. Sorry new to this stuff.

Do I need to assign a pin on the arduino to the IR Transmitter if so where abouts do I add that?

Read the comment at the top of the IRsendDemo that comes with the library :wink: It uses pin 3.

/*
 * IRremote: IRsendDemo - demonstrates sending IR codes with IRsend
 * An IR LED must be connected to Arduino PWM pin 3.
 * Version 0.1 July, 2009
 * Copyright 2009 Ken Shirriff
 * http://arcfn.com
 */