MrDEB
Well-Known Member
here is my short code that shows an error in line 23 (something about error 302?)
have two books Ardunio programming in 24 hours and Ardunio cook book but no solution? Tried typing code but this 302??
have two books Ardunio programming in 24 hours and Ardunio cook book but no solution? Tried typing code but this 302??
Code:
#include <IRremote.h>
int IRpin = 8;
IRrecv irrecv(IRpin);
decode_results results;
void setup()
{
Serial.begin(9600);
irrecv.enableIRIn(); // Start the receiver
}
void loop()
{
if (irrecv.decode(&results))
{
Serial.println(results.value); // Print the Serial 'results.value'
delay(10);
irrecv.resume(); // Receive the next value
}
}