Mark Bresler
04-20-10, 10:07 PM
Hi,
My program is crashing and I think it is because I am asking it to send a lot of characters out the serial port. I have an untimed loop that takes sensor data, manipulates it and sends it to the serial port. I want to stay at 9600 baud because I have a radio transeiver that only works at that rate.
Questions:
1) how many characters can be put into the transmit buffer?
2) How do I check how full the buffer is?
3) Is there a difference between Forth 3.3 and Forth 3.5E ?
I will look at the program and try to trim unneeded characters, but I expect it could be 40 characters per loop.
From a look at the HC11 manual, I think there is a 1 character buffer shared between transmit and receive.
Thanks in advance for your thoughts,
Mark
My program is crashing and I think it is because I am asking it to send a lot of characters out the serial port. I have an untimed loop that takes sensor data, manipulates it and sends it to the serial port. I want to stay at 9600 baud because I have a radio transeiver that only works at that rate.
Questions:
1) how many characters can be put into the transmit buffer?
2) How do I check how full the buffer is?
3) Is there a difference between Forth 3.3 and Forth 3.5E ?
I will look at the program and try to trim unneeded characters, but I expect it could be 40 characters per loop.
From a look at the HC11 manual, I think there is a 1 character buffer shared between transmit and receive.
Thanks in advance for your thoughts,
Mark