I have really fallen in love with the cheap OLED displays that have now become available, but I have not found a definite way to control the charge pump for these guys.
I am using the teensy modified version of Oliver's Library (u8glib teensy add on : https://github.com/FriedCircuits/Ug8lib_Teensy )
I found some threads on the web suggesting the following code:
sendCommand(0x8d); // charge pump regulator
sendCommand(0x14); // send a value of 20 for max brightness ( I am thinking that 0 turns the display off and 10 would be 50%)
I tried to send these commands using the wire library, but perhaps that may be the incorrect way of doing this being that I am using <u8g_teensy.h>.
Does anyone here have any experience with this?
I am using the teensy modified version of Oliver's Library (u8glib teensy add on : https://github.com/FriedCircuits/Ug8lib_Teensy )
I found some threads on the web suggesting the following code:
sendCommand(0x8d); // charge pump regulator
sendCommand(0x14); // send a value of 20 for max brightness ( I am thinking that 0 turns the display off and 10 would be 50%)
I tried to send these commands using the wire library, but perhaps that may be the incorrect way of doing this being that I am using <u8g_teensy.h>.
Does anyone here have any experience with this?