Initialize Project for DISCO-F413ZH (32F413HDISCOVERY) Add Tensorflow project
Dependencies: mbed BSP_DISCO_F413ZH TFlite
main.cpp@0:370ac30931a6, 2020-04-22 (annotated)
- Committer:
- hogbinz
- Date:
- Wed Apr 22 11:04:01 2020 +0000
- Revision:
- 0:370ac30931a6
Add Tensorflow Project
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hogbinz | 0:370ac30931a6 | 1 | #include "mbed.h" |
hogbinz | 0:370ac30931a6 | 2 | #include "stm32f413h_discovery_lcd.h" |
hogbinz | 0:370ac30931a6 | 3 | |
hogbinz | 0:370ac30931a6 | 4 | int main() |
hogbinz | 0:370ac30931a6 | 5 | { |
hogbinz | 0:370ac30931a6 | 6 | BSP_LCD_Init(); |
hogbinz | 0:370ac30931a6 | 7 | |
hogbinz | 0:370ac30931a6 | 8 | /* Clear the LCD */ |
hogbinz | 0:370ac30931a6 | 9 | BSP_LCD_Clear(LCD_COLOR_WHITE); |
hogbinz | 0:370ac30931a6 | 10 | |
hogbinz | 0:370ac30931a6 | 11 | BSP_LCD_DisplayStringAt(0, LINE(1), (uint8_t *)"MBED EXAMPLE", CENTER_MODE); |
hogbinz | 0:370ac30931a6 | 12 | wait(2); |
hogbinz | 0:370ac30931a6 | 13 | BSP_LCD_Clear(LCD_COLOR_GREEN); |
hogbinz | 0:370ac30931a6 | 14 | BSP_LCD_SetBackColor(LCD_COLOR_GREEN); |
hogbinz | 0:370ac30931a6 | 15 | BSP_LCD_SetTextColor(LCD_COLOR_BLACK); |
hogbinz | 0:370ac30931a6 | 16 | BSP_LCD_DisplayStringAt(0, LINE(5), (uint8_t *)"DISCOVERY STM32F413ZH", CENTER_MODE); |
hogbinz | 0:370ac30931a6 | 17 | |
hogbinz | 0:370ac30931a6 | 18 | while(1) { |
hogbinz | 0:370ac30931a6 | 19 | } |
hogbinz | 0:370ac30931a6 | 20 | } |