project-sparthan / sparthan-myo

ESP32 Arduino library for the Myo EMG Armband
MIT License
4 stars 4 forks source link

Invalid use of incomplete type'class BLERemoteCharacterstic' #8

Open MMIX2009 opened 2 years ago

MMIX2009 commented 2 years ago

Hi, I am getting this error message: Invalid use of incomplete type'class BLERemoteCharacterstic'

for the following code lines in the example sketches:

Has anyone else seen this error message? I see the same error message when compiling with Arduino IDE 1.8.19 and 2.0.0 How do I fix it? Thanks.

MMIX2009 commented 2 years ago

Adding additional context to my previous post: I was able trace the issue to Arduino's ArduinoBLE version 1.3.2. When installed, the Arduino IDE doesn't compile the Sparthan_Myo example sketches However, after downgrading to ArduinoBLE version 1.3.1, sketches compiled successfully.