n the device "u8g_dev_st7920_128x64" the current code is:
[code]
u8g_WriteByte(u8g, dev, 0x080 | y ); /* y pos */
u8g_WriteByte(u8g, dev, 0x080 ); /* set x pos to 0*/
[/code]
this must be changed to:
[code]
if ( y < 32 )
{
u8g_WriteByte(u8g, dev, 0x080 | y ); /* y pos */
u8g_WriteByte(u8g, dev, 0x080 ); /* set x pos to 0*/
}
else
{
u8g_WriteByte(u8g, dev, 0x080 | (y-32) ); /* y pos */
u8g_WriteByte(u8g, dev, 0x080 | 4); /* set x pos to 64*/
}
[/code]
Originally reported on Google Code with ID 27
Reported by
olikraus
on 2012-01-24 11:46:48