Untitled
unknown
plain_text
a year ago
419 B
7
Indexable
#include "stm32f4xx_hal.h" #include "ssd1306.h" #include "fonts.h" int main(void) { HAL_Init(); /* Configure the system clock */ SystemClock_Config(); /* Initialize all configured peripherals */ MX_GPIO_Init(); MX_I2C1_Init(); ssd1306_Init(); ssd1306_Fill(Black); ssd1306_SetCursor(2, 0); ssd1306_WriteString("Hello, World!", Font_11x18, White); ssd1306_UpdateScreen(); while (1) { } }
Editor is loading...
Leave a Comment