/*** * _______ _____ ___ * |_ __ \|_ _|.' `. * | |__) | | | / .-. \ * | ___/ | | | | | | * _| |_ _| |_\ `-' / * |_____| |_____|`.___.' * * Preprocessor I/O Library * * ~ version 1.0.0 * ~ written by Tristan Krause * ~ visit www.devfix.net * * You should have received a copy of the MIT License. * If not, see . * * How does it work? * ---------------------------------------------- * Instead of the classical way * (1a) DDRA |= (1< #ifdef HIGH #undef HIGH #endif #define HIGH 1 #ifndef LOW #undef LOW #endif #define LOW 0 #ifndef OUT #undef OUT #endif #define OUT 1 #ifndef OUTPUT #undef OUTPUT #endif #define OUTPUT 1 #ifndef IN #undef IN #endif #define IN 0 #ifndef INPUT #undef INPUT #endif #define INPUT 0 #include "pio/dmode.h" #include "pio/dwrite.h" #include "pio/dread.h" #include "pio/mcus.h" #endif // PIO_H