Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I'm using the EFM32GG-STK3700 and I've found that the AnalogOut does not work. I've traced it down to the API not calling analogout_enable(dac_t *obj, uint8_t enable) after initializing the DAC. It looks like the void analogout_init(dac_t *obj, PinName pin) is missing the analogout_enable at the end. Here's the relevant code with the enable added:
Is this the most appropriate place for the enable?