Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

I2C/Wire library: Make Wire library non-blocking #1476

Closed
Assignees
Labels
Component: CoreRelated to the code for the standard Arduino API Library: WireThe Wire Arduino library Type: Bug Type: DuplicateAnother item already exists for this topic
@ghost

Description

The Wire library has while loops that could go on forever. Although this will not happen in a normal situation, if it happens, the blocking stops the Arduino from working and that could be a safety issue.

Arduino version 1.0.5

A simple loop as timeout could solve this, as suggested here, http://diydrones.com/forum/topics/i2c-wiring-library-lockup
A non-blocking version was also made in 2011 by gknight4, http://forum.arduino.cc/index.php/topic,70705.0.html

Metadata

Metadata

Assignees

Labels

Component: CoreRelated to the code for the standard Arduino API Library: WireThe Wire Arduino library Type: Bug Type: DuplicateAnother item already exists for this topic

Type

No type

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /