Skip to content

Wire.h fails #276

Closed
Closed
@paulvha

Description

@paulvha

Running version 2.0.1.

Reproduce :
Make an empty sketch and just add at the top : #include "Wire.h"
Try to compile and it fails with:
In file included from /home/paul/Arduino/sketch_oct07a/sketch_oct07a.ino:1:
/home/paul/.arduino15/packages/SparkFun/hardware/apollo3/2.0.1/libraries/Wire/src/Wire.h:11:10: fatal error: Print.h: No such file or directory
#include "Print.h"

Root cause
Print.h is now in mbed-bridge/core-api/api directory.

Solution
Either change the line to #include "mbed-bridge/core-api/api/Print.h" or just remove #include "Print.h" from Wire.h

regards,
Paul

Metadata

Metadata

Assignees

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