Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

u8g_dev_st7920_128x64 memory transfer #27

Closed
GoogleCodeExporter opened this issue Mar 31, 2016 · 1 comment
Closed

u8g_dev_st7920_128x64 memory transfer #27

GoogleCodeExporter opened this issue Mar 31, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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

@GoogleCodeExporter
Copy link
Author

done

Original comment by olikr...@gmail.com on 24 Jan 2012 at 8:28

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant