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.
10 years, 7 months ago.
Analog Out on Nucleo F030R8
The pinout diagram shows PA_4 is analog out, but the program returns an error (AnalogOut is undefined...)
Is it definitely compatible or is my code wrong?
#include "mbed.h" AnalogOut Aout(PA_4); int main() { while(1) { Aout = 0.25; } }