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

QUESTION:"refresh rate" #6

Closed
skovacijer opened this issue Feb 24, 2016 · 1 comment
Closed

QUESTION:"refresh rate" #6

skovacijer opened this issue Feb 24, 2016 · 1 comment

Comments

@skovacijer
Copy link

Is it possible to have only one line refreshing instead of whole screen?

I have data coming from a sensor, there are few lines displayed on screen which dont need to be refreshed(text) , but data from sensor should be updated every time it changes. So is there a way to make just one "line" refresh or to smooth out the refreshing (of the whole screen) or make it faster?

Thanks

P.S. I have just started arduino and you made a great library for oled, thank you once again

@greiman
Copy link
Owner

greiman commented Feb 25, 2016

You can position the cursor to the field that needs to be updated and only write the new value.

  /**
   * @brief Set the cursor position.
   *
   * @param[in] col The column number in pixels.
   * @param[in] row the row number in eight pixel rows.
   */
  void setCursor(uint8_t col, uint8_t row);

@greiman greiman closed this as completed Feb 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants