ESP32-Radio icon indicating copy to clipboard operation
ESP32-Radio copied to clipboard

Scroll speed LCD 1602

Open Thoky81 opened this issue 5 years ago • 4 comments

It is possible to change the scroll speed on 1602 lcd display? Thanks

Thoky81 avatar Feb 21 '20 12:02 Thoky81

I have the same question, would like to increase the scroll speed.

buntings avatar Jan 23 '22 18:01 buntings

That would not be so hard to find.....

Edzelf avatar Jan 23 '22 18:01 Edzelf

I would imagine it is easy to find if you know where it is! I looked, then I searched the issues, looked again and only then asked the question......I have read your reply, looked again.....and I still cannot find the parameter. Sorry.

buntings avatar Jan 24 '22 08:01 buntings

Every second, the time will be displayed on the display. On a 1602, there will be a scroll of the text if necessary. So you can display the time every half second. Insert the lines:

#ifdef LCD1602I2C
  if ( ( count10sec % 10 ) == 5 )                 // Half second over?
  {
    time_req = true ;                             // Yes, show current time request
  }
#endif

Just before:

if ( ( count10sec % 10 ) == 0 ) // One second over?

In the "timer100()" function.

Edzelf avatar Jan 24 '22 09:01 Edzelf