Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Inits/SSD1306.cpp
- Revision:
- 15:b9483ba842c8
- Parent:
- 13:d8c593fa7705
- Child:
- 17:1dafb896c6f5
diff -r 29bab588ba75 -r b9483ba842c8 Inits/SSD1306.cpp
--- a/Inits/SSD1306.cpp Sun Feb 22 18:55:54 2015 +0000
+++ b/Inits/SSD1306.cpp Mon Feb 23 16:05:16 2015 +0000
@@ -132,5 +132,5 @@
{
contrast = o;
- wr_cmd16(0x8100|(o));
+ wr_cmd16(0x8100|(o&0xFF));
}