Help conv_u32_bit

More
08 Apr 2024 20:34 #297832 by Thayloreing
I'm trying to convert a u32 output to a bit, I managed to load it in the hal, and I managed to monitor it in the showhalconfiguration, but I didn't find much information on how the converter works, I wanted any value above 0 the bit would be 1, I imagined that was it, However, when I set a value at the converter input, the output still remains at 0. Could you give me an explanation and, if possible, a solution to my problem? thanks in advance

Please Log in or Create an account to join the conversation.

More
08 Apr 2024 21:39 - 08 Apr 2024 21:42 #297834 by PCW
Replied by PCW on topic Help conv_u32_bit
Ack sorry there already is a u32-bit conversion

If it does not work, its possible the you did not addf
the conversion function to the servo thread:

addf conv_u32_bit.0 servo thread
Last edit: 08 Apr 2024 21:42 by PCW.
The following user(s) said Thank You: zz912, Thayloreing

Please Log in or Create an account to join the conversation.

More
09 Apr 2024 01:00 #297838 by Thayloreing
Replied by Thayloreing on topic Help conv_u32_bit
I actually forgot to add it to the service thread, thank you very much

Please Log in or Create an account to join the conversation.

Time to create page: 0.076 seconds
Powered by Kunena Forum