oled library integrated and adapted to STM32 HAL

This commit is contained in:
Wolfgang Hottgenroth
2017-05-29 11:50:59 +02:00
parent a37a4b99ae
commit a407f01559
10 changed files with 861 additions and 9 deletions

View File

@ -20,10 +20,15 @@
#include <PontCoopScheduler.h>
#include "stm32f1xx_hal.h"
#include "oled.h"
void blink(void *handle) {
static uint32_t i = 0;
HAL_GPIO_TogglePin(LED_GPIO_Port, LED_Pin);
LED_PrintValueI(0, 1, i);
i++;
}
void my_setup_1() {
@ -44,6 +49,9 @@ void my_errorHandler() {
}
void my_setup_2() {
LED_Init();
LED_P6x8Str(0,0,"welcome to");
}