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.
If using only one DAC output on PA_4, it works. But declaring more AnalogOut's for PA_5 or PA_6 doesn't work and it also renders PA_4 non-functioning state.
Is there any workarounds for this?
<<code title="example">>
Serial pc(USBTX, USBRX); AnalogOut aout1(PA_4); AnalogOut aout2(PA_5); AnalogOut aout3(PA_6);
int main() { aout1.write_u16(32767); aout2.write_u16(32767); aout3.write_u16(32767); pc.printf("ready!\r\n"); while(1); } <<code>>