• Ok, then that's probably ok - you have the stuff I posted above for PWM pins, and then you have each of the DAC channels done with DAC_CH1&2.

    You leave jshAnalogOutput to set the pins themselves up. The idea is that jshSetOutputValue is fast since it runs in an IRQ - you don't want it having to configure pin states each time a value is written.

About

Avatar for Gordon @Gordon started