Skip to content

Compile error on Micro:bit #1

@idreamsi

Description

@idreamsi

Hi,
I use Arduino 1.8.11 and Micro:bit, at compile time (SoftwareSerialExample.ino), the following error is displayed, what is the problem?

C:\Users\Royal\Documents\Arduino\libraries\SoftwareSerial/SoftwareSerial.h:197:19: error: void value not ignored as it ought to be

          _intMask = attachInterrupt(_receivePin, handle_interrupt, RISING);

                   ^
C:\Users\Royal\Documents\Arduino\libraries\SoftwareSerial/SoftwareSerial.h:202:19: error: void value not ignored as it ought to be

          _intMask = attachInterrupt(_receivePin, handle_interrupt, FALLING);

                   ^
exit status 1
Error compiling for board BBC micro:bit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions