I need help. I am looking for a solution how to write a code to receive data on avr attiny2313 after UART, specifically midi messages, comparison, receive bytes and send or not.
For example, if the UART receives a message consisting of 3 bytes, I need to compare them with those defined rigidly and if they are the same then do not send anything, and if they do not match, then send what I received.
Such a simple echo filtering program.
For now, I was able to start the echo function at the interruption but I don't know how to move on.