Skip to content

Too many blocking code:( #2

@ServeurpersoCom

Description

@ServeurpersoCom

Hello,

Very good spec sensor but the lib is useless for serious application.
There is too many blocking code inside it :

while(busyFlag != 0) // Loop until device is not busy
{
... update busyFlag ...
}

delay(1); // 1 ms delay for robustness with successive reads and writes

You can't do this on a microcontroller 1ms is a huge waste like many years lol.

My project need a serious non blocking code, I must rewrite this unusable lib :(

Pascal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions