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]
Original issue reported on code.google.com by olikr...@gmail.com on 24 Jan 2012 at 11:46
Original issue reported on code.google.com by
olikr...@gmail.com
on 24 Jan 2012 at 11:46