wrong positive and negative voltages on lcd 20x4


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,643


    Did you find this post helpful? Yes | No

    Default Re: wrong positive and negative voltages on lcd 20x4

    VALOR1=B1/9
    VALOR2=B2/12
    b1 = 329 , b1/9 =35 target is 12.2 why divide by 9 ?
    b2 = 360 , b2/12=30 target is 12.3 why divide by 12 ?


    to get more resolution
    dummy = b1*100
    VALOR = div32 26
    result = 1226 ie 12.26 *100

    an even more accurate result is possible using */
    Warning I'm not a teacher

  2. #2
    Join Date
    Jul 2022
    Posts
    26


    Did you find this post helpful? Yes | No

    Default Re: wrong positive and negative voltages on lcd 20x4

    Quote Originally Posted by richard View Post
    b1 = 329 , b1/9 =35 target is 12.2 why divide by 9 ?
    b2 = 360 , b2/12=30 target is 12.3 why divide by 12 ?


    to get more resolution
    dummy = b1*100
    VALOR = div32 26
    result = 1226 ie 12.26 *100

    an even more accurate result is possible using */
    In my previous code I had many errors due to the mathematical equations and I was able to partially correct these errors using the fp2032.bas library.
    even the code continues with the errors in mathematical equations, for that reason I went to the lighthouse to see if they could help correct the code, thanks


  3. #3
    Join Date
    May 2013
    Location
    australia
    Posts
    2,643


    Did you find this post helpful? Yes | No

    Default Re: wrong positive and negative voltages on lcd 20x4

    I went to the lighthouse to see if they could help correct the code
    if you don't understand the math / pbp language then you can seek assistance
    in this section of the forum [Commercial - Assistance Required] , your problem
    description and solution attempts make little sense to me
    Warning I'm not a teacher

  4. #4
    Join Date
    Jul 2022
    Posts
    26


    Did you find this post helpful? Yes | No

    Thumbs up Re: wrong positive and negative voltages on lcd 20x4

    Quote Originally Posted by richard View Post
    if you don't understand the math / pbp language then you can seek assistance
    in this section of the forum [Commercial - Assistance Required] , your problem
    description and solution attempts make little sense to me
    I will try and thank you very much for your help

Similar Threads

  1. Monitoring negative voltages
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 16th August 2014, 04:17
  2. Pic18f452 with 20x4 LCD Help
    By djmachine in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 6th November 2008, 22:43
  3. Measuring negative voltages
    By sammy in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 13th June 2006, 01:36
  4. 20x4 LCD and P18F2680
    By microuser in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 9th June 2006, 19:26
  5. LCD 20X4 connect with DS1820
    By jojokatada in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 9th March 2005, 11:04

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts