bitbank2 / ss_oled

Simple and small library to control 1-bpp OLED displays (Linux + Arduino)
GNU General Public License v3.0
186 stars 34 forks source link

Added oledClearLine #54

Closed Xorlent closed 2 years ago

Xorlent commented 2 years ago

Simply changed operator for bNew bit assignment to & to clear instead of | to write

bNew &= mask; // set the pixel

bitbank2 commented 2 years ago

Your patch doesn't correct line 2085, it's still setting the bits to draw the line.