SCD30 Driver #185
Replies: 3 comments 6 replies
-
Hi Markus Good work on the driver. I hope you will publish it to the package registry, so others can use it. AFAIR, when you write
then you need to use the suffix when you refer to things from the package, i.e.
|
Beta Was this translation helpful? Give feedback.
-
This warning is because an import of the form In your example there is a line As Lau correctly states, you could either use the prefix For what it's worth, you shouldn't need to worry about this as much as normally an
This way the name of the driver would be scd30, and an |
Beta Was this translation helpful? Give feedback.
-
Hi @MarkusGaelli Merry Christmas |
Beta Was this translation helpful? Give feedback.
-
Hi
Wanted to create a driver for the SCD30 environmental sensor, but @qvisten999 beat me here. :-)
Managed to get it running but puzzled about a few things:
Should I import the lib like this?
How would I correct the "deprecation"?
Why do I need to extend it with "driver" and how could I "show" the class Scd30 directly?
Cheers
Markus
Beta Was this translation helpful? Give feedback.
All reactions