Great assistance in developing MBed support for the Oled. Have you got a minimal MBed demo program for it ? NeatGUI as such does not claim to support it.
Hi Tisham I looked at your GPSIMU_Hotshoe project and it seems like your OLED isn't working.
There are a few things you are missing.
1. For MISO set it to NC as PTB23 is used for the Reset of the KW40 Bluetooth Chip.
2. The OLED needs to be powered on by setting PTC13 to 1.
Initialize in the beginning of main.cpp
DigitalOut oled_POWER(PTC13,0);
3. The RST pin (PTE6) needs to be toggled during the OLED init sequence.
Initialize in the beginning of main.cpp
DigitalOut oled_RST(PTE6,0);
The Kinetis Design Studio Project does something like this before calling the SSD12351_SPI::open() function
oled_POWER = 0;
wait_ms(1);
oled_RST = 0 ;
wait_ms(1);
oled_RST = 1 ;
wait_ms(1);
oled_POWER = 1;
I wrote a Windows program to take a 96x96 bitmap and convert it to 16bpp and format it into a string of comma delimited hex values for use in your HexiWear programs. Enjoy.
https://github.com/CapperLabs/HexiWearOLEDbitmapTool
Let me know how you like it. It's not a bitmap editor, however, you need to make your bitmap with another program like MSPaint, and then flip it vertically before loading it into my program. Be aware there will be an extra comma at the end of the hex values before the closing bracket that needs to be removed before compiling.
Scott