I received my Arduino Uno today! Ready for programming the ATtiny. My first time doing this. @sweebee, I added the code in Arduino 1.6.3 and installed library ‘NewRemoteSwitch’ from ‘fuzzillogic’, but I get an error after verfiy the code (maybe not the place/topic to be discussed );
sketch_bewegingssensor.ino:37:3: error: 'PCMSK' was not declared in this scope
sketch_bewegingssensor.ino:38:3: error: 'GIFR' was not declared in this scope
In file included from C:\Users\J\Documents\Arduino\libraries\NewRemoteReceiver/NewRemoteTransmitter.h:10:0,
from sketch_bewegingssensor.ino:14:
sketch_bewegingssensor.ino:38:18: error: 'PCIF' was not declared in this scope
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:115:25: note: in definition of macro 'bit'
#define bit(b) (1UL << (b))
^
sketch_bewegingssensor.ino:39:3: error: 'GIMSK' was not declared in this scope
In file included from C:\Users\J\Documents\Arduino\libraries\NewRemoteReceiver/NewRemoteTransmitter.h:10:0,
from sketch_bewegingssensor.ino:14:
sketch_bewegingssensor.ino:39:18: error: 'PCIE' was not declared in this scope
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:115:25: note: in definition of macro 'bit'
#define bit(b) (1UL << (b))
^
Fout bij compileren.