Hi Mike,

I had a look at what you requested and I since what you are doing is more 
advanced I thought of the simplest way to add two procedures for advanced users 
so that you can do anything you want. BTW. I noticed that setting the precharge 
to 0 is an invalid value according to the datasheet.

These are the two procedures I added to the library:

procedure ssd1306_send_command(byte in command)
procedure ssd1306_send_command_parameter(byte in command, byte in parameter)

This version wil be in the next bee package (ready on Sunday).

Kind regards,

Rob

________________________________
Van: [email protected] <[email protected]> namens Rob Hamerling 
<[email protected]>
Verzonden: zaterdag 17 oktober 2020 14:29
Aan: [email protected] <[email protected]>
Onderwerp: Re: [jallib] Re: JAL Library for SSD1306 graphic display module.


Hi Mike,

On 14/10/2020 16.24, 'Mike' via jallib wrote:

Just a note...The dimming ability of the display can be greatly extended by 
using the SETPRECHARGE and SETVCOMDETECT commands.  I am able to make the 
display very dim - much dimmer than just using the contrast - by setting all 
three parameters to zero.  This could be very useful for battery powered 
devices.

I'm using ssd1306 (and sh1106) in other environments (ESP8266/ESP32 with 
Micropython, and Teensy 4.0 with C/C++). I am interested to extend some of the 
oled support libraries for these environments for better contrast-control. But 
the datasheets were not helpful (enough) for me. Could you point me to more 
elaborate information w.r.t. the above commands (meaning, explanation and 
format)?

Regards, RobH


--
Rob Hamerling, Vianen, NL

--
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/cb530e23-1d0d-0750-3d78-91194e9a97db%40gmail.com<https://groups.google.com/d/msgid/jallib/cb530e23-1d0d-0750-3d78-91194e9a97db%40gmail.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/AM0PR07MB62418F2643D3240EE5110307E6000%40AM0PR07MB6241.eurprd07.prod.outlook.com.

Reply via email to