Thanks Henrik, thanks Richard.
I have some homework to do following your info :)
probably not , on interrupt is not suitable for processing async data streams in any useful way without flow control
if there is a "real" foreground task being processed incurring data loss is...
First, there's the actual shiftregister into which the data is shifted bit-by-bit as it's received. You don't have access to this register (AFAIK).
Once the correct number of bits have been shifted...
Thank you Richard,
Actually, my program works on a 8MHz basis - it should be more than enough to handle 9600bps serial data, no?
I'd like to stick to the very basics since I'm not an...
As you will be creating another keyboard, any output will be sent to what ever window has focus.
towlerg Yesterday, 09:41since most chips have a rxbuffer you could also take advantage of
ISR:
rx_hit=1
while pir1.5
sdata[rx_count]=RCREG
rx_count=rx_count+1
if rx_count==5...
i have great reservation that "on interrupt" will be successful @9600 with a 4mhz osc, use dt ints
puts your 690 in a blocking loop until 5 characters have been received, no matter how long it...
Hi all,
I've made this small program to learn how the EUSART RX interrupt works....and it works BUT :biggrin:
Yes, the code below works but I'm getting confused when I think about having...
George,
I do not understand where flow control is needed.
Ioannis
Re: USB to send ASCII characters to PC
Yes, the focus is a thing that bothers me and I wish I knew a way to deal with it.
Ioannis Today, 00:18If for any reason (and windows has a lot, I am sure) the focus is lost, data entry is lost too...