stealthylabs / libssd1306

C graphics and device driver library to write to OLED SSD1306 128x64 or 128x32 using I2C
MIT License
20 stars 8 forks source link

Added ?support? for scrolling. #8

Closed Romonaga closed 1 year ago

Romonaga commented 1 year ago

Hello, I thought the best was to give you a pull request so you can see what i tried to do to add scroll support. I m sure I am not using your calls correctly, as you can see that how I got it to work differs from your code.

I do think it is best for you to have the support to turn it on or off many people using your lib will not know how to do as you suggested. Please feel free to see what I tried to do, than reject it as I know if you do it it will be done better.

stealthylabs commented 1 year ago

I have merged your PR and will test and update it as necessary. the byte modifications are correct as per the data sheet.