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

Committer:
hexfactory
Date:
2017-01-30
Revision:
0:da00b5dd65c6
Child:
1:f316de154ff7

File content as of revision 0:da00b5dd65c6:

#ifndef FLASH_H
#define FLASH_H

#include "mbed.h"

/* global defines */
#define FLASH_DATA_SIZE             2
/*
    BYTE 0 => TOGGLE_BYTE_LIGHT0
    BYTE 1 => TOGGLE_BYTE_LIGHT1
*/
#define FLASH_TOGGLE_BYTE_LIGHT1    0
#define FLASH_TOGGLE_BYTE_LIGHT2    1

/* global function declaration */
void flash_init(void);
void flash_write(uint8_t* newFlashData);
void flash_read(uint8_t* readFlashData);

#endif