HelTecAutomation / CubeCell-Arduino

Heltec CubeCell Series (based on ASR6501, ASR6502 chip) Arduino support.
247 stars 138 forks source link

Unable to compile provided sketch for INA219 sensor #164

Closed wasyl00 closed 3 years ago

wasyl00 commented 3 years ago

When trying compile and upload script for INA219 (getcurrent.ino) for HTCC-AB01, Arduino IDE is giving me the following error: ` Arduino: 1.8.13 (Windows 10), Board: "CubeCell-Board(HTCC-AB01), REGION_EU868, CLASS_A, OTAA, ON, CONFIRMED, OFF, ON, ACTIVE, Freq && DIO"

C:\Users\user\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_SPIDevice.cpp: In destructor 'Adafruit_SPIDevice::~Adafruit_SPIDevice()':

C:\Users\user\Documents\Arduino\libraries\Adafruit_BusIO\Adafruit_SPIDevice.cpp:79:19: error: 'nullptr' was not declared in this scope

 _spiSetting = nullptr;

               ^

exit status 1

Error compiling for board CubeCell-Board(HTCC-AB01). `

wasyl00 commented 3 years ago

My bad, I had messed too much with my libraries.