This channel provides basic to advance tutorial of Arduino, NodeMCU, Micropython, IOT, ESP32 and ARM based controller. You will get here Code and schematic diagram without any charges.
Thank you. I spent a day trying to find code that worked. The documentation I read says: Adafruit SSD1306 OLED display library allows you to reset the display using the OLED_RESET pin, which is set to 4 (D4) by default. You can set OLED_RESET to -1 if your OLED display does not have a reset pin. I also have the 4 pin GND/VDD/CLK/SDA version without reset pin so was using RESET -1. So do you know RESET 4 works here?
Got this working perfectly with wifi, thanks for the tuition, can one get it to check version and only update the latest version? now need it to work with cellular network. thanks
Yeah changing a value of an integer doesn't gonna affect the memory which is allocated for that variable.int is basically short int. If you change int to long int. Then we can clearly see a increase of memory allocated to that variable. One more advice is that instead of using the format specifier %d use %lu for sizeof() function as in some devices it may not work properly as the sizeof() function returns a long unsigned int.
it worked, thank you. just one observation: at first i followed your schematic and it did not work, so the i2c pins are reversed. the correct would be SCL to PB6 and SDA to PB7. after i inverted the pins it worked just fine
Sorry, but i like point out the schematic that you are showing to us is wrong, by reading the pinout of the stm32 you supposed to connect SDA to pb7 and the SCL to pb6. You are showing us the opposite in the schematic you connected SDA to pb6 and SCL to pb7. Thank you.
How to add “font data.h file in Arduino ide. All libraries added except font data.h library & that is why error are coming. Please help in this regard.