5 years, 4 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;
Comment on this question
Be the first to answer this question.

You need to log in to post a question