Frans Skarman
Frans Skarman
> 72 MHz / 14 MHz = 5.14 > **4** > Div = **8** > Real speed 72 / **8** = 9 MHz Unless i'm misstaken, the code, as it...
Yes, another good catch. Thanks! I pushed a new commit with a fix
I finally got around to rebasing this against the current version. I'll try and find some time to rewrite it to use the embedded-hal implementation soon. @tib888 I assume you're...
I have now implemented the embedded_hal adc traits to replace the pin handling I did before
@tib888 I tested it briefly by running the examples/adc.rs and it seems to work. Though it might not be a bad idea to check if a conversion is already happening...
I'm not sure why my test didn't catch this earlier, but @tib888 was right, it does get stuck in an infinite loop. Unfortunately I can't reproduce it in the example...
@tib888 That's defenitively a solution that I would prefer over runtime errors. However, as far as I can tell, it is not compatible with the `Adc` trait in `embedded_hal`.
Yea, that makes sense now that I think about it. I suppose my implementation would break if someone else with `&mut` access to rcc changes things. I'll try and look...
I finally got around to updating this PR. Unfortunately it wasn't as easy as I thought originally because the backup domain is a bit special. Modifying it seems to require...
I experienced this as well. Installing the latest version from git using `npm install -g [email protected]:nturley/netlistsvg.git` as described in #120 fixed it for me.