you have been asking this question since 2018.
what have you tried ?
what are you measuring ?
where is your schematic ?
your code is incomplete what is in your config section ?
why do think fp math is necessary to get the display you want?
you have been asking this question since 2018.
what have you tried ?
what are you measuring ?
where is your schematic ?
your code is incomplete what is in your config section ?
why do think fp math is necessary to get the display you want?
Warning I'm not a teacher
I attached the image of the symmetrical power supply circuit, at the output of the positive voltage it has a voltage divider and at the output of the negative voltage it has a voltage comparator in inverter mode, so the code works perfectly with the pic 16f877a, in the 20x4 display the result of the negative and positive voltages flicker a lot, the objective is to correct this fault, and pass the code to work with the pic 16f887.
thanks
José
so
a xtal osc freq unknown
no OSC statement in pbp code
and still not a clue about the config settings used
no idea of how osc is treated in proteus
and a cropped schematic thats barely readable
no idea of how the 877a was setup in comparison
Warning I'm not a teacher
I assume you have a data sheet for your LCD. First, only update the screen when a value changes. This means tracking "OldVolts" through a separate variable. Next, when you DO update, only update the new values; in other words, don't update the whole screen, don't update the whole line, in fact, only update the actual characters that have changed. Another common issue is sending the Erase Screen command every time you want to change something. DON'T! Just update the changes. (Again, it is explained in common LCD data sheets how to change only 1 DDRAM address without having to reload the entire screen.)
Bookmarks