I have used ArduinoBLE library version 1.1.3 which is the latest one. I get the error message as below when compiled. I have also installed the extension for Artemis boards.
WARNING: library ArduinoBLE claims to run on samd, megaavr, mbed architecture(s) and may be incompatible with your current board which runs on apollo3 architecture(s).
In file included from C:\Users\Prasannaa\Documents\Arduino\libraries\ArduinoBLE\src/ArduinoBLE.h:26,
from C:\Users\Prasannaa\Documents\Arduino\libraries\ArduinoBLE\examples\Peripheral\LED\LED.ino:18:
C:\Users\Prasannaa\Documents\Arduino\libraries\ArduinoBLE\src/BLETypedCharacteristics.h:60:61: error: ‘word’ was not declared in this scope
class BLEWordCharacteristic : public BLETypedCharacteristic {
^~~~
C:\Users\Prasannaa\Documents\Arduino\libraries\ArduinoBLE\src/BLETypedCharacteristics.h:60:65: error: template argument 1 is invalid
class BLEWordCharacteristic : public BLETypedCharacteristic {
^
exit status 1
Error compiling for board SparkFun Artemis Thing Plus.
I experienced same compile errors when trying to build LED example from ArduinoBLE lib for sparkfun artemis micromod. What “Sparkfun library 2.0.2” ?? Does sparkfun have example BLE sketch for artemis micromod? ArduinoBLE lib is v1.1.3
With the release of Sparkfun 2.0.0 you need to add a different jason file to the Arduino IDE to get Sparkfun library version (now) 2.0.2 which supports ArduinoBLE (else you will have version 1.2, which does NOT support ArduinoBLE and cause this error message) See https://learn.sparkfun.com/tutorials/ar … rduino-ide
I added new json file and installed 2.0.2 with boards manager. I could compile the BLE lib LED example, but upload failed on 1.8.12 and on 1.8.13 … and I couldn’t upload any sketch !!
I reverted back to 1.2.1 for apollo3 and i still can’t upload ANY sketch to artemis micromod board !
Artemis SVL Bootloader
Target failed to enter bootload mode. Verify the right COM port is selected and that your board has the SVL bootloader.
i couldn’t get BLE LED example to upload with ambiq (3 tries, upload fails) and 2.0.2. I removed apollo3 json and reverted to 1.2.1 with ambiq and I can now upload my old sketches …
so what is recommend to get BLE LED example to work? 1.8.12 only ? ambiq (baud doesn’t matter?) i’m using Arduino’s latest BLE lib. i notice sparkfun has a fork of that lib, but it didn’t help.
I made some progress with 2.0.2, ambiq, and 1.8.13 (seems to upload better when USB is not through a hub). LED example loaded and ran, maybe, nothing printed on serial monitor, and not sure if my iphone is seeing a BLE device. I notice that enableBurstMode() (for 96mhz) is not defined in 2.0.2 — is there another way for 96 mhz.