Help conv_u32_bit

More
2 years 6 months ago #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 to join the conversation.

More
2 years 6 months ago #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

Please Log in to join the conversation.

More
2 years 6 months ago #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 to join the conversation.

Time to create page: 0.137 seconds
Powered by Kunena Forum