CubeCell-Arduino icon indicating copy to clipboard operation
CubeCell-Arduino copied to clipboard

Sensirion SCD41 integration issue!

Open tusharvb19 opened this issue 3 years ago • 1 comments

Hello, Trying to read SCD41 using Sensirion I2C SCD4x library, but compilations give below error:

. . . C:\Users\DELL\Documents\Arduino\libraries\Sensirion_I2C_SCD4x\src/SensirionI2CScd4x.h:399:24: error: 'nullptr' was not declared in this scope

 TwoWire* _i2cBus = nullptr;

Need help to compile this code successfully!

tusharvb19 avatar Sep 26 '22 17:09 tusharvb19

Add #define nullptr NULL to AppData\Local\Arduino15\packages\CubeCell\hardware\CubeCell\1.5.0\cores\asr650x\Arduino.h

sheggy012 avatar Mar 22 '23 17:03 sheggy012