I've built a wireless mouse that sends data through UART over RF to base station which is just an ATmega8 with VUSB Ckt and RF reciever connected.
things that i've tried :
1. Running UART on interrupt mode. This didnt work because VUSB already uses an interrupt and there was clashes between VUSb n UART .. so the device would disconnect from the computer or simply be not recognized.
2. Then i've used while loops to capture data from Rf but the micro controller gets stuck on the while...
Interrupt based UART while running VUSB on ATmega8
things that i've tried :
1. Running UART on interrupt mode. This didnt work because VUSB already uses an interrupt and there was clashes between VUSb n UART .. so the device would disconnect from the computer or simply be not recognized.
2. Then i've used while loops to capture data from Rf but the micro controller gets stuck on the while...
Interrupt based UART while running VUSB on ATmega8