-
Notifications
You must be signed in to change notification settings - Fork 238
ADC cannot read from a Pin<Analog> object. #33
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
Comments
From what I can tell, this is not possible to implement due to limitations in |
Correction: there has been movement in the API, but not in a direction that supports this usage. Ahead of an imminent 1.0 release, the |
We will address this issue when rust-embedded/embedded-hal#242 is merged and this project migrates to |
Add a type that can represent any channel for e.g. storing a list of channels in an array. Ref: #33
Add a type that can represent any channel for e.g. storing a list of channels in an array. Ref: #33
On the |
Is there any workaround for this until the |
@davystrong: I would consider the |
Ok, thanks, I'll try that. |
Hello, this is a great project. When trying to perform the
Adc.read
method on aPin<Analog>
object, I receive the following error:which cleaned up for you benefit becomes:
I believe that this just means that the downgraded/generic
Pin<Analog>
object needs thisOneShot
trait implemented? It's a little hard to figure out what is and isn't implemented with all of the procedural macros.Here is a minimal reproducible example:
The text was updated successfully, but these errors were encountered: