Question Reading Serial Data

Danie834

New member
Joined
Apr 22, 2019
Messages
1
Programming Experience
Beginner
Hi i am new into programming and having problem with data displaying correctly
i have written a Arduino program to display the volts in decimal form "12.5" and on the serial monitor it display correct but i can only get it to display two digits in vb and i need it to display it in decimal form in my vb program...so how do i do that.
so here is my code .. tell me what i am doing wrong.. it works but it display 12v instead of 12.5v....
 

Attachments

  • ArduinoVolt code.txt
    234 bytes · Views: 34
  • VBVoltsCode.txt
    1,018 bytes · Views: 36
Back
Top