Hey there nice people..
I'm new here and happy to ask my first question :)
My project consists of a transmitter and a receiver, the transmitter is an ATmega16a, it reads the position of a joy stick and sends it using UART over radio signals
the radio module used is a 433 MHz module (FS1000A)
The receiver (which is also an ATmega16A) lights an LED based on the position of the joystick
My code is written in Assembly, no libraries were used
Here's the strange thing, when my code didn't work I added some code to re transmit every received byte of data so I can view it on my PC and make sure the uC received the data properly
And because of that bit of code the program works! when I comment out that part it doesn't work
Can anyone explain why?
Both receiver and transmitter programs are attached