https://github.com/anachrocomputer/stm32_i2c_oled
Display stuff on a monochrome OLED from an STM32F103 using the I2C interface
https://github.com/anachrocomputer/stm32_i2c_oled
bluepill i2c i2c-bus i2c-display oled-display-ssd1306 ssd1306 stm32 stm32f103
Last synced: 11 months ago
JSON representation
Display stuff on a monochrome OLED from an STM32F103 using the I2C interface
- Host: GitHub
- URL: https://github.com/anachrocomputer/stm32_i2c_oled
- Owner: anachrocomputer
- Created: 2022-12-27T19:37:48.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-22T02:35:26.000Z (over 3 years ago)
- Last Synced: 2025-01-16T10:49:18.429Z (over 1 year ago)
- Topics: bluepill, i2c, i2c-bus, i2c-display, oled-display-ssd1306, ssd1306, stm32, stm32f103
- Language: C
- Homepage:
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# STM32_I2C_OLED #
An STM32F103 "Blue Pill" program to display stuff on a 128x32 pixel
OLED display connected to the I2C interface.
There's a 9600 baud serial interface on USART1 (pins PA9 and PA10) which
is used to control the display.
The command 'z' will clear it, while 'o' will show a pre-generated
image.
The command 'u' will switch from manual updates to an automatically-updating
clock display with hours, minutes, and seconds.
'm' will switch back to manual updates.
The style of display is selected by 'v' for VFD, 'w' for LED dots, 'x' for
panaplex, and 'y' for LED bars.
The program is in C and may be compiled with GCC on Linux
(Windows may also work if you have a copy of GNU 'make' installed).
## Chips Supported ##
At present, there's only support for the STM32F103 on the "Blue Pill" development board.
## ARM Toolchain ##
A recent version of GCC for ARM, such as that installed by the Arduino "stm32duino" toolchain.
You'll also need some files from the ST "STM32CubeF1" repo on GitHub, such as the linker script.