Created Tue, 03 Apr 2012 14:21:27 +0000 by acmilangr
Tue, 03 Apr 2012 14:21:27 +0000
Hi i need a code so i can read codes from my remote controll,
arduino's library IRremote.h doesnt work on chipkit uno32/max32 i get this error
C:\MPIDE.\hardware\pic32\libraries\IRremote\IRremote.cpp:16:27: fatal error: avr/interrupt.h: No such file or directory compilation terminated.
is there any other way to work with that?
all i need is to store values from IR remote to a variables
please someone help
Tue, 03 Apr 2012 15:53:58 +0000
I think this is a duplicate of another posting from yesterday?
I have worked on code like this before on another platform (Basic Micro BasicAtomPro...).
My quick look through their code, looks like they set up Timer2 with an overflow timer. Looks very Atmega specific. So you will probably need to convert that code over to the Pic32 equivalent.
If I were to do something like this, I would probably instead try to use something like the Pin Change interrupt and grab the system time and not a different timer and poll the IO pin...
Hope you can find someone to help.
good Luck Kurt