There are no built in functions for this, not sure why. You have to include <propeller.h> in your program. It would also help if you show us your code, meaning, what have you tried so far.
Ray
#include <propeller.h>
void high(int WCpin)
{
unsigned int bits = 1 << WCpin;
DIRA |= bits;
OUTA |= bits;
}
void low(int WCpin)
{
unsigned int mask = 1 << WCpin;
DIRA |= mask;
OUTA &= ~mask;
}
Comments
Ray
Ray