Closed David-OConnor closed 4 years ago
Hi. It would be nice to have an example where you pass the adc to a function, struct or enum, or otherwise where you have to declare its type. Eg:
adc
fn read(adc: Ads1x1x< ? ?, ads1x1x::DataRate16Bit, ads1x1x::mode::OneShot>) -> f32 { // ... }|
Sounds good. I fixed some details and merged it now. Thank you!
Hi. It would be nice to have an example where you pass the
adc
to a function, struct or enum, or otherwise where you have to declare its type. Eg: