• ahhh the duty cycle, that was my problem, thank you!

    I also had to replace the initial start value with 0.

    analogWrite(A5, 0.5,{freq: 35000});
    digitalPulse(A6, 0, command);
    digitalPulse(A6, 1, 0);
    
About

Avatar for Adam @Adam started