Replies: 2 comments 15 replies
-
@fdedden is this something we could add? There's not even an instance for |
Beta Was this translation helpful? Give feedback.
12 replies
-
I've been looking around a bit. I think, to do this efficiently, we'll have to introduce new operations. On a related note, I think we could implement the following two classes for |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I'm working on Arduino.Copilot and my goal is to calculate the PWM signal interpreted as a Word8. I have to divide the value received from analog input (Int16) by 1023, multiplying the result by 0.5:
The problem is that there is no instance for
UnsafeCast Float Word16
. Someone who knows any alternative solution?Beta Was this translation helpful? Give feedback.
All reactions