Raspberry Pi Pico 2 (RP2350)/MicroPython display on two OLED, SSD1306 I2C and SPI.
In previous I exercised on Raspberry Pi Pico 2 /MicroPython to display on I2C SSD1306 OLED and SPI SSD1306 OLED . In this post display on both I2C and SPI SSD1306 OLED. Remark: when I test the code, base on MicroPython v1.24.0-preview.321 on Raspberry Pi Pico 2 normal RP2350 and RP2350-RISCV version. It's found something strange when running on RP2350-RISCV version. Check the video at 4:30. - The MicroPython running in a loop, without time.sleep(). - If "Stop" on Thonny IDE clicked to stop from running, the Pico 2 will disconnected, and REPL fail. - ----- Have to reboot the Pico to re-connect. It should be a MicroPython issue, not SSD1306 issue. Connection: Connection between Raspberry Pi Pico 2 and I2C/SPI SSD1306 OLED I2C SSD1306 - SCL GP5 - SDA GP4 SPI SSD1306 - D/C GP13 - RST GP12 - SDA GP11 (mosi) - SCL GP10 (sck) - VCC 3V3 - GND GND GP9 (dummy cs) - No connection GP8 (miso) - No connection Exercise Code: To ins...