With Martin's help I'm making good progress in the NEC IR decoding routines, but hit a snag with the compiler I don't grok.
Would appreciate iof anyone (Ben or 'the other' Martin) could take a look.
The problem appears when trying to use Timer1 (handle Timer2 in the panel).
See attachment. The C-file shows the handler code, two interrupts (pin IOC and Timer1) with each a defined int routine, yet the last statement throws a compile error (2nd attachment).
Anyone has an idea where this comes from or what I did wrong?
Edit: added a 3rd attachment showing the C-code with a single int for comparison. Error in the C compiler?
Jan
Looking for users with experience using RC5 remote control component
-
- Posts: 82
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 17, 2020 3:16 pm
- Has thanked: 20 times
- Been thanked: 12 times
Re: Looking for users with experience using RC5 remote control component
- Attachments
-
- 1-intonly.PNG (29.73 KiB) Viewed 2241 times
-
- cint.PNG (50.59 KiB) Viewed 2241 times
-
- t1.PNG (11.53 KiB) Viewed 2241 times