I've been trying to use the IRRemote library( http://www.arcfn.com/2009/08/multi-protocol-infrared-remote-library.html
) of arduino on an atmega8 but when i try to compile i get errors like this
error: ‘TCCR2A’ was not declared in this scope
I realize this is cause the library was built for atmega168 or 328. Is there a way i can tweak the library for it to work with atmega8.Or is there any other similar IR remote library i can use with arduino.Basically all i want to do is interface a TSOP1738 ( IR Receiver ) with an arduino and the library should give me different outputs for different buttons pressed on the remote so i can differentiate between the different buttons in the remote and accordingly perform certain actions.