xinabox / arduino-CORE

Core for ☒CHIP Platforms
MIT License
0 stars 1 forks source link

Micro:Bit #4

Open gotfredsen opened 4 years ago

gotfredsen commented 4 years ago

The xCore code can't handle Arduino programming of the Micro:Bit

.../Arduino/libraries/arduino-CORE/src/xCore.cpp: In member function 'void xCoreClass::write16(byte, byte, uint16_t)':
.../Arduino/libraries/arduino-CORE/src/xCore.cpp:42:34: error: call of overloaded 'write(int)' is ambiguous
  Wire.write((0xFF & (value << 8)));
                                  ^

The standard wire.h library works with Micro:Bit in other cases, so it is a local xCore problem.

brendanvanbreda commented 4 years ago

Updated with commit 9a08816