16 lines
323 B
C
16 lines
323 B
C
#ifndef MAIN_H
|
|
#define MAIN_H
|
|
|
|
#define SET(PORT, PIN) (PORT |= (1 << PIN))
|
|
#define CLR(PORT, PIN) (PORT &= (~(1 << PIN)))
|
|
#define CHK(PORT, PIN) (PORT & (1 << PIN))
|
|
#define TOG(PORT, PIN) (PORT ^= (1 << PIN))
|
|
|
|
void initIO(void);
|
|
void blinkLed(void);
|
|
void readTemp(void);
|
|
void readPhoto(void);
|
|
void runServos(void);
|
|
|
|
#endif
|