Closed PeterUMJ closed 9 months ago
I haven’t really thought about it. I guess so, but probably in the new LocoNet2 library, as I don’t want to keep adding layers and layers of patches to the LocoNet library.
I guess I should order some and have a play around with it.
Alex
On 4/10/2023, at 6:34 AM, PeterUMJ @.***> wrote:
Are there any plans to support UNO R4?
//Peter
— Reply to this email directly, view it on GitHub https://github.com/mrrwa/LocoNet/issues/39, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5Y53JSZVA4Z4W5WJOMCGDX5REEDAVCNFSM6AAAAAA5RLA77SVHI2DSMVQWIX3LMV43ASLTON2WKOZRHEZDINRRGU4DIOI. You are receiving this because you are subscribed to this thread.
Thanks for the reply, is there any timetable for LocoNet2?
Peter
I’ve just ordered an Arduino UNO R4 to experiment with.
I had a quick read of the data sheet to see if it has any special UART status registers to make it easy to detect a busy LocoNet for the collision-sensing logic.
Alas, it doesn’t look like it has anything special/helpful, but hopefully, I can enable a Pin Change Interrupt on the RX Pin at the same time as receiving normal Serial Data via the UART, as I’ve done this with the RPI Pico RP2040 chip and it seems to work ok. If I can get the R4 to work like this then it shouldn’t take too much effort to support the R4… ;)
HTH
Alex
On 4/10/2023, at 8:38 PM, PeterUMJ @.***> wrote:
Thanks for the reply, is there any timetable for LocoNet2?
Peter
— Reply to this email directly, view it on GitHub https://github.com/mrrwa/LocoNet/issues/39#issuecomment-1746309669, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5Y53JLGPV22UUDGY6DO4DX5UHBHAVCNFSM6AAAAAA5RLA77SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBWGMYDSNRWHE. You are receiving this because you commented.
I hope you find an easy way to fix it
Are there any plans to support UNO R4?
//Peter