Code commenté du projet LED

Dependencies:   BSP_DISCO_F746NG

Committer:
JohnnyK
Date:
Sat Apr 24 19:08:28 2021 +0000
Revision:
3:4f5dc253eb7b
Child:
5:071136c3eefa
Rework to LVGL 7.10.1 and MbedOS 6.10

Who changed what in which revision?

UserRevisionLine numberNew contents of line
JohnnyK 3:4f5dc253eb7b 1 /**
JohnnyK 3:4f5dc253eb7b 2 * @file tft.h
JohnnyK 3:4f5dc253eb7b 3 *
JohnnyK 3:4f5dc253eb7b 4 */
JohnnyK 3:4f5dc253eb7b 5
JohnnyK 3:4f5dc253eb7b 6 #ifndef DISP_H
JohnnyK 3:4f5dc253eb7b 7 #define DISP_H
JohnnyK 3:4f5dc253eb7b 8
JohnnyK 3:4f5dc253eb7b 9 #ifdef __cplusplus
JohnnyK 3:4f5dc253eb7b 10 extern "C" {
JohnnyK 3:4f5dc253eb7b 11 #endif
JohnnyK 3:4f5dc253eb7b 12
JohnnyK 3:4f5dc253eb7b 13 /*********************
JohnnyK 3:4f5dc253eb7b 14 * INCLUDES
JohnnyK 3:4f5dc253eb7b 15 *********************/
JohnnyK 3:4f5dc253eb7b 16 #include <stdint.h>
JohnnyK 3:4f5dc253eb7b 17 #include "lvgl/src/lv_misc/lv_color.h"
JohnnyK 3:4f5dc253eb7b 18 #include "lvgl/src/lv_misc/lv_area.h"
JohnnyK 3:4f5dc253eb7b 19
JohnnyK 3:4f5dc253eb7b 20 /*********************
JohnnyK 3:4f5dc253eb7b 21 * DEFINES
JohnnyK 3:4f5dc253eb7b 22 *********************/
JohnnyK 3:4f5dc253eb7b 23 #define TFT_HOR_RES 480
JohnnyK 3:4f5dc253eb7b 24 #define TFT_VER_RES 272
JohnnyK 3:4f5dc253eb7b 25
JohnnyK 3:4f5dc253eb7b 26 /**********************
JohnnyK 3:4f5dc253eb7b 27 * TYPEDEFS
JohnnyK 3:4f5dc253eb7b 28 **********************/
JohnnyK 3:4f5dc253eb7b 29
JohnnyK 3:4f5dc253eb7b 30 /**********************
JohnnyK 3:4f5dc253eb7b 31 * GLOBAL PROTOTYPES
JohnnyK 3:4f5dc253eb7b 32 **********************/
JohnnyK 3:4f5dc253eb7b 33 void tft_init(void);
JohnnyK 3:4f5dc253eb7b 34
JohnnyK 3:4f5dc253eb7b 35 /**********************
JohnnyK 3:4f5dc253eb7b 36 * MACROS
JohnnyK 3:4f5dc253eb7b 37 **********************/
JohnnyK 3:4f5dc253eb7b 38 #ifdef __cplusplus
JohnnyK 3:4f5dc253eb7b 39 }
JohnnyK 3:4f5dc253eb7b 40 #endif
JohnnyK 3:4f5dc253eb7b 41
JohnnyK 3:4f5dc253eb7b 42 #endif
JohnnyK 3:4f5dc253eb7b 43