12 lines
142 B
C
12 lines
142 B
C
|
|
||
|
#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);
|
||
|
|
||
|
}
|