Both the T1 and T2 triggers are constantly outputting 5v even when I am writing 0 to digitalWrite. I have made sure that I am writing to the write channels (0 and 5), yet I am unable to get the outputs to output 0v.
Here is test code I am using just to try to get them to output 0v:
#include <Bela.h>
bool setup(BelaContext *context, void *userData)
{
return true;
}
void render(BelaContext *context, void *userData)
{
for (int i = 0; i < context->digitalFrames; i++) {
digitalWrite(context, i, 0, 0);
digitalWrite(context, i, 5, 0);
}
}
void cleanup(BelaContext *context, void *userData)
{
}
Am I missing something? All the other ins/outs on Salt seem to work as expected but can't seem to figure out the trigger outs.