Problem with compilation

userHead daniel.wisniewski001 2019-08-09 05:03:11 2147 Views3 Replies
I'm new here! I'm Daniel and I'm from Poland.
I have a problem with compilation program on board: DFRduino M0 MainBoard.
It normally works when I don't use libraries or use basic library like LCD and then it's fine and works.
But when I'm trying compile program with different libraries like OneWire it doesn't work. When I change board as Arduino Uno or Leonardo it compiles correctly but of course I can't upload on board because I use DFRduino M0 MainBoard.
2019-08-13 09:05:20 It's compatible since you can use it under Arduino environment and it also can work with Arduino core libraries. Onewire librairy is quit special. If you are familiar with it, you will know it requires specific I/O definitions for different platform. userHeadPic xuegangxiao117
2019-08-11 18:12:20 Thanks for answer.
So I totally don't understand why there is "Arduino Compatible" but it isn't.
userHeadPic daniel.wisniewski001
2019-08-09 11:44:21 Hi,
You cannot change the board as others since the microcontroller of M0 is different from the Uno or Leonardo. It's ARM Cortex M0. I don't think it's compatible with OneWire.h.
userHeadPic xuegangxiao117