[PIC] LCD VU Meter problem

Status
Not open for further replies.

Okada

Banned
Joined
Jun 16, 2016
Messages
1,159
Helped
129
Reputation
252
Reaction score
129
Trophy points
63
Activity points
0
I am making an LCD VU Meter. I am writinf 0xFF to get full block. I am doing this in a loop.

My bar graph length is 18. How can I write full blocks on 18 columns in one go ?

Also what values should I use to write sliced blocks on HD44780character LCD ?

- - - Updated - - -

See attached video. My bar character is like this. I am writing 0xFF to get this char. I also have 4 different sliced bar data but it uses arrays. How can I replace the array with just char values to get sliced bars for representing the fractional part ?

I am cleaning up the code. I will post the code in a few minutes.

Is the VU Meter working fine ? I am only updating the LCD data if there is a change.
 

Attachments

  • Proteus Simulation Video - LCD VU Meter.rar
    203.1 KB · Views: 88

hello,

use CGRAM characteres !
i used this for Temperature horizontal **broken link removed**

the main problem is no acces to the 8th horizontal bit , so you have to play with Normal caractere 0xFF and additional CGRAM caracteres
see in my code ( even the display is in I2C mode!)



but with a graphic LCD display, result is better
example : Horizontal barre grpah with 96 pts

 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…