Update vom 10.05.15

Dependencies:   FreescaleIAP MODSERIAL mbed monitor timer0

Fork of 18_PT1000 by Temp27

Committer:
rs27
Date:
Sun Aug 23 10:18:54 2015 +0000
Revision:
21:6f524a6caabe
Parent:
19:f3c41bbc809a
Version 1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rs27 19:f3c41bbc809a 1 #ifndef MAIN_H
rs27 19:f3c41bbc809a 2 #define MAIN_H
rs27 19:f3c41bbc809a 3
rs27 19:f3c41bbc809a 4 #define CR 13
rs27 19:f3c41bbc809a 5 #define LED_AUS 0
rs27 19:f3c41bbc809a 6 #define LED_EIN 1
rs27 19:f3c41bbc809a 7
rs27 19:f3c41bbc809a 8 #define BOOL_FMT(bool_expr) (bool_expr) ? "ein" : "aus"
rs27 19:f3c41bbc809a 9
rs27 19:f3c41bbc809a 10 struct di_struct {
rs27 19:f3c41bbc809a 11 bool aktiv; // Flag zur Steuerung
rs27 21:6f524a6caabe 12 bool old; // alter Wert vom Eingang für Flankenerkennung // Flag für Zeitsteuerung des Summers
rs27 19:f3c41bbc809a 13 };
rs27 19:f3c41bbc809a 14
rs27 19:f3c41bbc809a 15 #endif