Skip to content

Startup delay wrong for 8bit AVR core ... #42

Open
@PICboy

Description

@PICboy

In LiquidCrystal.cpp at line 107, there is delayMicroseconds(50000); startup delay of 50ms.
Because maximum value that function delayMicroseconds() can handle is 16383, instead of 50mS you got only around 2mS delay.
Make this delay in form of:
for(unsigned char i=0;i<5;i++)
delayMicroseconds(10000);
Best regards from Republic of Serbia.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions