Skip to content

Driver for oled 0.96 screen, with i2c connection for stm32f103c8t6

License

Notifications You must be signed in to change notification settings

NRF24l01/ssd1306_stm32

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Library for connect i2c screen with ssd1306 to stm32f103c8t6

Tested only for oled screen with ssd1306, 128x64 sizes, with blue pill(stm32f103c8t6)

Usage example

extern I2C_HandleTypeDef hi2c1;

int main(void)
{
  HAL_Init();
  SystemClock_Config();

  MX_GPIO_Init();
  MX_I2C1_Init();

  SSD1306_Init(&hi2c1);

  SSD1306_Clear();
  SSD1306_UpdateScreen(&hi2c1);

  SSD1306_Clear();
  SSD1306_DrawString(5, 5, "abcd&*?", 1);
  SSD1306_UpdateScreen(&hi2c1);
}

About

Driver for oled 0.96 screen, with i2c connection for stm32f103c8t6

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages