RedBearLab / nRF51822-Arduino

Moved to https://github.com/redbear/nRF5x
251 stars 109 forks source link

Problem using libraries written for arduino #71

Open andrey-gvrd opened 7 years ago

andrey-gvrd commented 7 years ago

I'm getting this error when compiling and example from Encoder library for Arduino:

..\Arduino\libraries\Encoder/Encoder.h:61:11: error: 'IO_REG_TYPE' does not name a type

I've tried hard-including #include "Arduino.h", but that doesn't help.

jikelmon commented 7 years ago

I have encountered the same problem with the arduino ethernet library for ethernet shield. When compiling for RedBear BleNano and nrf51822 the librarie header files can not be found.