inspektors/include/main.h
2017-11-25 13:37:16 +02:00

17 lines
344 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 initLED(void);
void initPWM(void);
void blinkLed(void);
void readTemp(void);
void readPhoto(void);
void runServos(void);
#endif