#include "mctools.h" void setpin(uint8_t port, uint8_t pin, uint8_t val) { if (val) setpin_hi(port,pin); else setpin_lo(port,pin); }