Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not periodic refresh of data displayed using V memory values
#3
(09-14-2022, 07:20 PM)iliaslamprou Wrote: Hi, 
I think problems like this are due to miscommunication and serial errors.

If you could upload some screens from the terminal we might be able to see the problem.

Hi,

Thanks to Ilias' support I did the following actions:

I changed Tx and Rx cables (shorther and separated as possible with other conductors), however this change didn't have any impact on refresh rate.

I released SRAM memory reducing serial print instructions as well using int variables instead float ones when possible.  the refresh rate had a little  improvement.

Finally I found theh by disabling the I2C request for data instruction (specifically sensor DS18B20.requestTemperatures) the refresh data was as expected.  I tried different solutions without success, just a "work-around" : Only executing this request once each 256 main program cycles, and it works fine for my final purpose.
Reply


Messages In This Thread
RE: Not periodic refresh of data displayed using V memory values - by wilmar.ochoa - 10-06-2022, 12:14 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)