Skip to content

Working with Arduino Nano 33 BLE Rev2 #2

@tofuSCHNITZEL

Description

@tofuSCHNITZEL

Hi,

thanks for this library - should this Library work with a "Arduino Nano 33 BLE Rev2"?
the example for the FireBeetle uses ArduinoBLE and ArduinoBLE should work with the Rev2...
But as soon as I add #include <BtHomeV2Device.h> I get errors:

libraries\BTHomeV2-Arduino\src\BaseDevice.cpp: In member function 'size_t BaseDevice::getMeasurementByteArray(uint8_t*)': libraries\BTHomeV2-Arduino\src\BaseDevice.cpp:285:10: error: 'sort' is not a member of 'std' std::sort(_sensorData.begin(), _sensorData.end(), ^~~~ libraries\BTHomeV2-Arduino\src\BaseDevice.cpp:285:10: note: suggested alternative: 'sqrt' std::sort(_sensorData.begin(), _sensorData.end(), ^~~~ sqrt exit status 1

thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions