We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 146b0ed commit 2dc8d07Copy full SHA for 2dc8d07
CHANGELOG.md
@@ -6,6 +6,10 @@
6
7
## [Unreleased] - ReleaseDate
8
9
+### Added
10
+
11
+- [#190](https://github.com/jamwaffles/ssd1306/pull/190) Added `Ssd1306::set_invert` to invert the screen pixels
12
13
## [0.8.0] - 2023-06-01
14
15
### Added
src/lib.rs
@@ -383,6 +383,11 @@ where
383
Command::PageStart(row.into()).send(&mut self.interface)
384
}
385
386
+ /// Set the screen pixel on/off inversion
387
+ pub fn set_invert(&mut self, invert: bool) -> Result<(), DisplayError> {
388
+ Command::Invert(invert).send(&mut self.interface)
389
+ }
390
391
fn flush_buffer_chunks(
392
interface: &mut DI,
393
buffer: &[u8],
0 commit comments