an adc result is only accurate to 2 places anyway so why not just use
B1**25097
result is (b1 *2000/52224 )*100
eg
b1 = 1023
B1**25097=391
b1 = 255
B1**25097=97
an adc result is only accurate to 2 places anyway so why not just use
B1**25097
result is (b1 *2000/52224 )*100
eg
b1 = 1023
B1**25097=391
b1 = 255
B1**25097=97
Last edited by richard; - 11th February 2020 at 07:04.
Warning I'm not a teacher
Bookmarks