Display Steuerung für Lampen per Relais. https://www.youtube.com/watch?v=_CupBMcZ8Xc
Dependencies: BSP_DISCO_F746NG F746_GUI LCD_DISCO_F746NG TS_DISCO_F746NG mbed
flash.h@0:da00b5dd65c6, 2017-01-30 (annotated)
- Committer:
- hexfactory
- Date:
- Mon Jan 30 20:58:13 2017 +0000
- Revision:
- 0:da00b5dd65c6
- Child:
- 1:f316de154ff7
First Release; 0x08 ARM mbed 001 - Display Steuerung - GUI und Schalter (Relai) [DE]; https://www.youtube.com/watch?v=_CupBMcZ8Xc
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hexfactory | 0:da00b5dd65c6 | 1 | #ifndef FLASH_H |
hexfactory | 0:da00b5dd65c6 | 2 | #define FLASH_H |
hexfactory | 0:da00b5dd65c6 | 3 | |
hexfactory | 0:da00b5dd65c6 | 4 | #include "mbed.h" |
hexfactory | 0:da00b5dd65c6 | 5 | |
hexfactory | 0:da00b5dd65c6 | 6 | /* global defines */ |
hexfactory | 0:da00b5dd65c6 | 7 | #define FLASH_DATA_SIZE 2 |
hexfactory | 0:da00b5dd65c6 | 8 | /* |
hexfactory | 0:da00b5dd65c6 | 9 | BYTE 0 => TOGGLE_BYTE_LIGHT0 |
hexfactory | 0:da00b5dd65c6 | 10 | BYTE 1 => TOGGLE_BYTE_LIGHT1 |
hexfactory | 0:da00b5dd65c6 | 11 | */ |
hexfactory | 0:da00b5dd65c6 | 12 | #define FLASH_TOGGLE_BYTE_LIGHT1 0 |
hexfactory | 0:da00b5dd65c6 | 13 | #define FLASH_TOGGLE_BYTE_LIGHT2 1 |
hexfactory | 0:da00b5dd65c6 | 14 | |
hexfactory | 0:da00b5dd65c6 | 15 | /* global function declaration */ |
hexfactory | 0:da00b5dd65c6 | 16 | void flash_init(void); |
hexfactory | 0:da00b5dd65c6 | 17 | void flash_write(uint8_t* newFlashData); |
hexfactory | 0:da00b5dd65c6 | 18 | void flash_read(uint8_t* readFlashData); |
hexfactory | 0:da00b5dd65c6 | 19 | |
hexfactory | 0:da00b5dd65c6 | 20 | #endif |