Skip to content

serialEvent() should be called synchronously not from an interrupt. [imported] #584

@cmaglie

Description

@cmaglie

This is Issue 584 moved from a Google Code project.
Added by 2011-08-17T17:18:47.000Z by dmel...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.
Closed (Fixed).

Original labels: Type-Defect, Priority-Medium, Component-Core, Milestone-1.0

Original description

The serialEvent() function should be called from the main for() loop, outside the call to loop() - not from the serial receive interrupt handler. This will make it easier for people to write working code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CoreRelated to the code for the standard Arduino API

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions