The code is developed for the hardware NUCLEO-L432KC and Digilent Pmod OLEDrgb. The purpose is to make students learn the development process and test that the hardware works fine. For converting this to Mbed OS 6 Adafruit_GFX.h needed to add #include "Stream.h" in beginning of the Adafruit_GFX.h Adafruit_SSD1331.cpp wait_ms(200) replaced with ThisThread::sleep_for(200ms); for all the similar wait_ms lines.
Dependencies: Adafruit-GFX-MbedOS6
Diff: main.cpp
- Revision:
- 2:29bb1ef0d6cd
- Parent:
- 1:de95c9ab922e
- Child:
- 3:64fb84822c90
diff -r de95c9ab922e -r 29bb1ef0d6cd main.cpp --- a/main.cpp Sun Aug 30 09:39:15 2020 +0000 +++ b/main.cpp Mon Aug 31 10:48:14 2020 +0000 @@ -26,7 +26,9 @@ * VCC - OLED 9 VCCEN Enable - VCC * VCC - OLED10 PMODEN Pmod Enable - VCC * GND - OLED 5 Ground -* VCC - OLED 6 Power supply 3,3 V +* VCC - OLED 6 Power supply 3.3 V +* L432KC 3V3 - VCC L432 supplying 3.3 V +* L432KC GND - GND Ground * ************************************************************************* * Compiles OK, works with hardware with operating system revision 6691:cf4f12a