I wanted to try out the IRremote library with my new UNO R4 WiFi, but i got an issue that i documented on GitHub, but i read that it is faster if i can provide an example for the missing hardware timer implementation. Sadly i can't write it myself, but maybe some of you guys can help this project?
opened 06:01PM - 23 Jul 23 UTC
### The type of board you are using.
Other - please specify below
### The β¦ boards name or FQBN (e.g. esp8266:esp8266:d1_mini:eesz=4M3M,xtal=80) for unspecified board.
renesas_uno
### The board manager URL used for unspecified board.
https://
### What IDE are you using?
Arduino IDE
### What IR protocol are you using?
Unknown
### Pin(s) used for IR-receive, if not default.
Arduino pin number: 4
### Example(s) you have checked while hunting the bug.
- [X] SimpleReceiver
- [ ] ReceiveDemo
- [ ] SendRawDemo
- [ ] ReceiverTimingAnalysis
- [ ] TinyReceiver
- [ ] TinySender
- [ ] ReceiveAndSend
- [ ] SimpleSender
- [ ] SendDemo
- [ ] SendLGAirConditionerDemo
- [ ] UnitTest
- [ ] Other - please specify below
- [X] I checked, if at least one of the examples was working.
### Example(s) to reproduce the issue.
- [X] SimpleReceiver
- [ ] ReceiveDemo
- [ ] SendRawDemo
- [ ] ReceiverTimingAnalysis
- [ ] TinyReceiver
- [ ] TinySender
- [ ] ReceiveAndSend
- [ ] SimpleSender
- [ ] SendDemo
- [ ] SendLGAirConditionerDemo
- [ ] UnitTest
- [ ] Other - please specify below
### The library version you are working with.
- [X] I use the [latest Arduino library version](../releases) and verified this!
- [ ] I use the latest repo version ([download link](../archive/master.zip)) and verified this!
### What are the steps to reproduce this issue?
I could easily reproduce this issue, since the problem is within the library itself if i understand correctly.
### What happens?
I couldn't run any code with the new Arduino UNO R4 WiFi or Minima because of the new architecture.
### The serial output which indicates the error happened.
```shell
WARNING: library IRremote claims to run on avr, megaavr, samd, esp8266, esp32, stm32, STM32F1, mbed, mbed_nano, rp2040, mbed_rp2040 architecture(s) and may be incompatible with your current board which runs on renesas_uno architecture(s).
In file included from C:\Documents\Arduino\libraries\IRremote\src/IRremote.hpp:274:0,
from C:\Documents\Arduino\severalthingsatonce\several_things_at_once\several_things_at_once.ino:2:
C:\Documents\Arduino\libraries\IRremote\src/private/IRTimer.hpp:1874:2: error: #error Internal code configuration error, no timer functions implemented for this CPU / board
#error Internal code configuration error, no timer functions implemented for this CPU / board
^~~~~
exit status 1
Compilation error: exit status 1
^~~~~
exit status 1
Compilation error: exit status 1
```
### What were you expecting to happen?
_No response_
### Additional context.
_No response_
### Final checklist for the bug report.
- [X] I have **read** the README.md file thoroughly
- [X] I have searched existing issues to see if there is anything I have missed.
- [X] I have browsed the examples for one, that matches my use case.
- [X] The title of the issue is helpful and relevant.
J-M-L
July 24, 2023, 8:31am
2
if you want to give it a try
There is a good article on the timers for the arduino-uno-r4
I was wondering how to use the timers in the new Arduino UNO R4. Unfortunately I did not find any documentation, so I decided to document my findings here. The UNO R4 has two timer Read moreβ¦
Est. reading time: 2 minutes
The library has documentation what pins / timers it requires for various architectures
and all this is in private/IRTimer.hpp
I might try it myself, thanks for the links
The first one gave me 502 Bad Gateway error, is it working for you? @J-M-L
J-M-L
July 25, 2023, 11:39am
4
seems Phil Schatzmann web site https://www.pschatzmann.ch/home/
is not responding for the time being
system
Closed
January 21, 2024, 11:40am
5
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.