всё работает

+экранчик
This commit is contained in:
2025-12-30 09:35:49 +03:00
parent 260a6416ad
commit 5d013ad4c4
75 changed files with 10048 additions and 2865 deletions

20
Core/OLED_Driver/oled.h Normal file
View File

@@ -0,0 +1,20 @@
/*
* oled.h
*
* Created on: Nov 17, 2021
* Author: wvv
*/
#ifndef OLED_H
#define OLED_H
#include "stm32g4xx_hal.h"
#define OLED_WIDTH 128
#define OLED_HEIGHT 8
#define PIXEL_MODE_PAINT 0
#define PIXEL_MODE_CLEAR 1
extern uint8_t oled_buf[OLED_HEIGHT * OLED_WIDTH];
void oled_refresh(void);
void oled_init(void);
#endif //OLED_H