![]() This is resistors used on voltage divider HELP!!! // variables for input pin and control LED I'm sure there is something stupid I'm not seeing. Please take a look at my code and tell me what I'm doing wrong - why can I not get the voltage to display? I can swap the values (type Pvolt in the first line and it displays the PinVolt on first line with 2nd line then displaying "Voltage=0.00" With the voltage divider I've got that should equal about 13.8 which is correct voltage. The PinVolt displays the correct value on the 2nd line just as it should: "PinVolt=4.25" Then voltage just displays "Voltage=0.00" on the first line of the LCD. At the beginning it all was working nicely with voltage printing out. Hello all, I'm having a bit of a problem with the following code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |