I tried your code and from what i can tell (using Velleman HPS5), it works as expected, BUT it is equivalent to example from my first post which works as expected:
void setup()
{
analogWrite(DAC0, 255);
delayMicroseconds(200);
analogWrite(DAC1, 255);
}
void loop(){}
both outputs are at 2.8V, what is NOT working is this piece of code:
void setup()
{
analogWrite(DAC0, 255);
analogWrite(DAC1, 255);
}
void loop(){}
using this code DAC0 is at 0.54V and DAC1 at 2.8V
V.