Skip to content

Interrupts and ESP8266WiFi.h #1046

@dahlma

Description

@dahlma

Hello!

Why can I not add intterrupts when including ESP8266WiFi.h?

I can compile and run simple code with interrupts. I can compile and run the example wificlient sketch successfully. But when I add an interrupt to a sketch including ESP8266WiFi.h (Ex: attachInterrupt(13, onPulse, FALLING);) I get this error when compiling:

WiFiClient:24: error: 'onPulse' was not declared in this scope

Please give me some advice or explanation why the two can not be combined!

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