Hello, just hijacking this thread. I have been tinkering with a (non Adafruit) OLED and get the same result as @Dennis in that it connects but just shows a load of junk on the screen.
I have removed the contents of the callback so that I only connect to the screen and don't send any data to it other than what's in the initCmds array and still get the garbage, so I guess it's to do with the init voodoo.
Weirdly the Adafruit library works with the screen on Arduino (apart from I have to change the address). I have looked at the datasheets but I have to confess they are a complete mystery to me and wouldn't really know where to start in changing the init variables.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hello, just hijacking this thread. I have been tinkering with a (non Adafruit) OLED and get the same result as @Dennis in that it connects but just shows a load of junk on the screen.
I have removed the contents of the callback so that I only connect to the screen and don't send any data to it other than what's in the initCmds array and still get the garbage, so I guess it's to do with the init voodoo.
Weirdly the Adafruit library works with the screen on Arduino (apart from I have to change the address). I have looked at the datasheets but I have to confess they are a complete mystery to me and wouldn't really know where to start in changing the init variables.