Issues with ADC code
haakonnessjoen opened this issue · comments
The first issue is that the cast to u16 crashes if the intermediate value is negative. I asked on the jakt repo, and it seems like this is expected behaviour when using "as!" between incompatible types.
Second issue is that .a is not being set ;)
Fixed by a54c2e1