Hello all,
I have a web page in Teensy 4.1 and am using CSS and Ajax. The webpage is quite large with a lot of data and I notice that way too much data is being sent and the buffer cannot handle the data.
Whole blocks of data are disappearing.
Now I put a "Delay(50)" in each piece of data so that the buffer can process the data better. In itself that goes well however I waste a lot of cpu time this way.
Is there no way to retrieve the amount of buffer space used to determine the delay time?
Or are there other ways to solve this?
Thanks in advance.
I have a web page in Teensy 4.1 and am using CSS and Ajax. The webpage is quite large with a lot of data and I notice that way too much data is being sent and the buffer cannot handle the data.
Whole blocks of data are disappearing.
Now I put a "Delay(50)" in each piece of data so that the buffer can process the data better. In itself that goes well however I waste a lot of cpu time this way.
Is there no way to retrieve the amount of buffer space used to determine the delay time?
Or are there other ways to solve this?
Thanks in advance.