Hi Vasile,

2010/5/6 vasile surducan <[email protected]>:
> If try to use the commented code for 8 and 9, char memory is corrupted
> (weird symbols appears), and I didn't find yet why.

This is probably because lcd_custom() sets the location beyond the
display area. Add a line like:
   lcd_cursor_position(1,5 + counter)          -- second line
after the delay solved it for me when I tested your code.

However, earlier you wrote:
> A custom character can share the same CGRAM memory if is
> written before printed (of course is spending a higher time)

On what do you base this statement?
A Q&A on the subjects says:

>  http://www.avrfreaks.net/index.php?name=
>  PNphpBB2&file=printview&t=69537&start=0
>
> Quote:
> But is it possible to use more than 8 user define characters ?
>
> Nope or rather HD44780 will not allow more than 8 to be
> displayed at once. If you change one then all previous
> occurences on the display will change.
>
> If you need to define entire fonts (foreign language symbols
> or graphics or something) you might want to consider
> switching to a graphic LCD


This is not an authentic source, of course. But I ran your code and
this confirms the behaviour above.
So it looks you can display only 8 different custom chars at the time...

Joep

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to