Closed tsadowski closed 3 months ago
I like the concept of this change, but it's a pretty major API break.
In the meantime you can use v1
and v2
feature flags to kludge around it, I guess?
Ups, I should have closed this long ago. I added PAD and EDGE aliases to the relevant pins and this has already been merged (PR #112). I was at this time new to Rust and coming from MakeCode, Python and Forth I had a difficult time to understand why a change from v1 to v2 did not simply work. Right now I have to use feature flags because Adc::read_channel is different for v1 and v2. Cheers, Torsten
Fixed in PR #112
Hi, I have been working on a Servo example. After it worked on a v1 board I tried it on a v2 board a well. I could compile and flash and it did run but the servos were not working. After some fiddling around I found out I needed to change the pins.
I don't know, what the best solution is. My preferred way would be to change the names of the unused pins in board.rs to the edge connector pin names. But this would be a breaking change.
What do you think?
Best Regards, Torsten