First try this code to make sure the receiver is working. Wire an LED to PB0 and pin T of the receiver to PB3 and also wire[br][br]G to 0V[br]V to 3V[br]P1 to 0V (turns the receiver on)[br][br]and the LED should flash as the signal comes in. Next step decoding it...
[code]void setup() {[br] pinMode(PB3, INPUT);[br] pinMode(PB0, OUTPUT);[br][br] // flash a couple of times so we know chip is on[br] digitalWrite(PB0, HIGH);[br] delay(250);[br] digitalWrite(PB0, LOW);[br] delay(250);[br] digitalWrite(PB0, HIGH);[br] delay(250);[br] digitalWrite(PB0, LOW);[br] delay(250);[br] [br][br]}[br][br]void loop() {[br] int a = digitalRead(PB3);[br] if (a == 0) {[br] digitalWrite(PB0, LOW);[br] } else {[br] digitalWrite(PB0, HIGH);[br] }[br][br]}[/code]
The [url=https://canaduino.ca/downloads/60khz.pdf]datasheet[/url] tells you which pins...