Skip to content

LcdMenuLib dont Work along TimeAlams Lib.  #48

Description

@AlexLPD

Hi, and thanks for the incredible library, it makes a breeze to make menus and configurations for this.

I have n extensive program, save data on SD read DHT22, turn on and off some reles.
I make it in two separated programs, the first was the lcd menu and configurations, using LcdMenuLib 1.0 and works like a charm.

The second, has the use of TimeAlarms for repeat each action each number of seconds, and save a lot of trouble of make soft delays on it.

The problem came ant the joint of the two mayor components, after a while of been discarding possibilities, ended up with the problem; Some sort of incompatibility between lcdMenuLib and TimeAlarms.

I open the example of intScreen, adapt to encoder, set my ic2 screen and tests it, all good so far, so.
Add a single example of Time Alarms, and the trouble began:

Rotate the lcd dont change the behavior of the lcd, some times it detects the change but is, super slow, its like the main loop has a hard delay(500), or something.

If I comment out;
void loop(){
Alarm.delay(1000); // wait one second between clock display

}

The program runs as expected, but remove this line, will ended up in none of the timeLib functions will be executed.

Will try to make a couple of videos and upload for extensive explanation.
Thanks a lot.
-Alex.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions