Closed mconsidine closed 8 months ago
This library is intended for the Nano 33 BLE Sense. If you compile for this board via
arduino-cli compile -b arduino:mbed_nano:nano33ble examples/Interrupts_subclassing -v
it compiles without problem.
But regardless of this intentional target there is quite a large range of supplied target architectures, see here. For which board did you compile the example in question?
Thanks for the look. I think this is a case of operator (ie, my) error ...
Does this mean the code won't work on the arduino uno? Because I am getting the errors regarding Wire1 and no member named 'onInterrupt' too
Yes, that's what it means. It would probably pay off to limit the number of supported architectures (in library.properties
) to those that are actually supported.
The "Simple" examples work, but the "Interrupts_subclassing" example fails to compile with two separate problems:
There is an error regarding
Wire1
(which I assume should beWire
).There is also this:
I'm just trying to get the example to run - no changes.