I forgot to check that channel is < 6
On my phone at the moment:
Either increase the size of the data array to 15 (a workaround)
Or Add 'if channel < 6' to the interrupt handler
UART Transmission with atmega328p
-
- Valued Contributor
- Posts: 1628
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 142 times
- Been thanked: 761 times
Re: UART Transmission with atmega328p
Unfortunately it doesn't work. Maybe you can still find the error. it's not urgent.
Re: UART Transmission with atmega328p
Only the pos counter was missing.
Really cool with the If pos &1, it took me a while to get it....
Really cool with the If pos &1, it took me a while to get it....
Re: UART Transmission with atmega328p
It works great, thanks again for the great help!
Chris
Chris
- Attachments
-
- IBUS4.fcfx
- (26.35 KiB) Downloaded 136 times