Copy project
This commit is contained in:
parent
ce7a467af7
commit
26a0fd884f
173 changed files with 157458 additions and 1 deletions
16
ad_astra/AdAstra/src/driver/infra/infra.h
Normal file
16
ad_astra/AdAstra/src/driver/infra/infra.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef INFRA_H
|
||||
#define INFRA_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <avr/io.h>
|
||||
|
||||
|
||||
#define INFRA_ADDRESS 255
|
||||
#define IR_PIN PB3
|
||||
#define REPEAT_CODE 1
|
||||
|
||||
typedef void (*OnCommandReceived)(uint8_t);
|
||||
|
||||
void initializeInfra(OnCommandReceived onCommandReceived);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue