Add christmas edition
This commit is contained in:
parent
2f1c7d9e82
commit
b62af486a7
2 changed files with 3422 additions and 1 deletions
|
|
@ -0,0 +1,11 @@
|
|||
#include "output_pins.h"
|
||||
#include "bitwise.h"
|
||||
|
||||
#include <avr/io.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
|
||||
void setOutputPin(uint8_t id, bool value) {
|
||||
setBit(DDRB, id);
|
||||
modifyBit(PORTB, id, value);
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
#ifndef GPIO_OUTPUT_PINS_H
|
||||
#define GPIO_OUTPUT_PINS_H
|
||||
|
||||
|
||||
inline void initializeOutputPins() {}
|
||||
|
||||
#endif
|
||||
Loading…
Reference in a new issue