Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No member named 'onInterrupt' ? #37

Closed
mconsidine opened this issue Feb 18, 2024 · 4 comments
Closed

No member named 'onInterrupt' ? #37

mconsidine opened this issue Feb 18, 2024 · 4 comments
Labels
conclusion: invalid Issue/PR not valid topic: documentation Related to documentation for the project type: imperfection Perceived defect in any part of project

Comments

@mconsidine
Copy link

mconsidine commented Feb 18, 2024

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 be Wire).

There is also this:

Compilation error: 'class MyBoschSensor' has no member named 'onInterrupt'

I'm just trying to get the example to run - no changes.

@mconsidine mconsidine changed the title no member named 'onInterrup' ?? no member named 'onInterrupt' ?? Feb 18, 2024
@per1234 per1234 added type: imperfection Perceived defect in any part of project topic: documentation Related to documentation for the project labels Mar 5, 2024
@aentinger
Copy link
Contributor

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?

@aentinger aentinger closed this as not planned Won't fix, can't repro, duplicate, stale Mar 7, 2024
@aentinger aentinger changed the title no member named 'onInterrupt' ?? No member named 'onInterrupt' ? Mar 7, 2024
@mconsidine
Copy link
Author

Thanks for the look. I think this is a case of operator (ie, my) error ...

@Tyenca
Copy link

Tyenca commented Mar 12, 2024

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

@aentinger
Copy link
Contributor

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.

aentinger added a commit that referenced this issue Mar 13, 2024
… mbed_edge, esp32 and rp2040.

This should put an end to confusions that come up regularly, i.e. in #37 .

The architectures samd, mbed_portenta, mbed_nano, mbed_edge, esp32 and rp2040 are all supported as per successful CI compilation.
aentinger added a commit that referenced this issue Mar 13, 2024
… mbed_edge, esp32 and rp2040. (#40)

This should put an end to confusions that come up regularly, i.e. in #37 .

The architectures samd, mbed_portenta, mbed_nano, mbed_edge, esp32 and rp2040 are all supported as per successful CI compilation.
@per1234 per1234 added the conclusion: invalid Issue/PR not valid label Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: invalid Issue/PR not valid topic: documentation Related to documentation for the project type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

4 participants