PES 4 - Smart Medication Dispenser / PES4_ProgrammeforDesignReview2

Dependencies:   SDFileSystem mbed

Fork of PES4_Programme by PES 4 - Smart Medication Dispenser

header/main.h

Committer:
aeschsim
Date:
2018-03-27
Revision:
33:f68a5f8564b7
Parent:
32:bb6cb7ec884e
Parent:
29:33158a63623b
Child:
36:799e29e48fdb

File content as of revision 33:f68a5f8564b7:

#pragma once
#include "mbed.h"
#include "i2c.h"
#include "functions.h"
#include "variables.h"

#define PRINT_TIME pc.printf("read time: %c:%c:%c, %c.%c.20%c, weekday: %c\r\n",time.hour, time.minute, time.second, time.day, time.month, time.year, time.weekday);


/* Achtung! I2C für Servoboard ist auf PIN PB_9, PB_8
* dies muss in pwmBoard.c geändert werden!
*
*   Pin Out:
*   I2C PB_9, PB_8
*   Output enable PC_9
*
*   Servoboard:
*   0       Klappe
*   1-6     Container
*   9-11    Rot, Grün, Blau Button 1
*   12-14   Rot, Grün, Blau Button 2
*
*/