thotro / arduino-dw1000

A library that offers functionality to use Decawave's DW1000 chips/modules with Arduino.
Apache License 2.0
515 stars 287 forks source link

Problem with SPI.usingInterrupts #320

Open orbitcoms opened 3 years ago

orbitcoms commented 3 years ago

I have compiled the DW1000 example for rangingTag for ESP32 (Devkit)

In DW1000Class::begin() I notice the SPI.usingInterrupt() is not support as part of the PIS library in my project. The code compiles when I edit the line out.

Will the code still work or is there a work around I need to use use to replace this line?

//#ifndef ESP8266 // SPI.usingInterrupt(digitalPinToInterrupt(irq)); // not every board support this, e.g. ESP8266 //#endif

hqbao commented 2 years ago

Same here, any updates?

hqbao commented 2 years ago

I got it, just don't use this library, please use this refactor version https://github.com/playfultechnology/arduino-dw1000