2017-11-24 13:29:36 +02:00
|
|
|
#ifndef MAIN_H
|
|
|
|
#define MAIN_H
|
|
|
|
|
2017-11-24 22:58:52 +02:00
|
|
|
#define SET_HIGH(PORT, PIN) (PORT) |= (1 << (PIN))
|
|
|
|
#define SET_LOW(PORT, PIN) (PORT) &= ~(1 << (PIN))
|
|
|
|
|
2017-11-24 13:29:36 +02:00
|
|
|
void initIO(void);
|
|
|
|
void blinkLed(void);
|
|
|
|
void readTemp(void);
|
|
|
|
void readPhoto(void);
|
|
|
|
void runServos(void);
|
|
|
|
|
|
|
|
#endif
|