Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1271

how to convert desimal in range 0-100 into binary 8 bit.

$
0
0

hi everybody..

i have a questions. i want to design pwm that contollered by labview software..in pwm duty cycle..range of duty is 0-100. how to convert in the 8 bit binary?

example

duty_cycle                  binary

100                          00000000

99                            00000010

...                                .....

0                              11111111


Viewing all articles
Browse latest Browse all 1271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>