#include "main.h"
#include "stm32l100c_discovery.h"
#include "ssd1306.h"
static __IO uint32_t TimingDelay;
uint8_t BlinkSpeed = 0;
@@ -14,7 +15,6 @@ int main(void)
STM_EVAL_LEDInit(LED3);
STM_EVAL_LEDInit(LED4);
SSD1303_Init();
/* Initialize User_Button on STM32L100C-Discovery */
//STM_EVAL_PBInit(BUTTON_USER, BUTTON_MODE_GPIO);
@@ -27,6 +27,9 @@ int main(void)
BlinkSpeed = 1;
/* Init lcd driver */
SSD1303_DrawPoint(3,3,1);
SSD1303_DrawPoint(5,5,0);
STM_EVAL_LEDOn(LED4);
Delay(1000);
@@ -12,5 +12,6 @@ unsigned long SSD1303_TurnOn(void);
unsigned char SSD1303_SetContrast(unsigned char contrast);
unsigned char SSD1303_GetContrast();
unsigned char* SSD1303_GetBuffer();
unsigned long SSD1303_DrawPoint(Pos_t x, Pos_t y, Color_t color);
#endif
Status change: