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.
9 years, 12 months ago.
do i have AnalogOut?
hi
I work with nucleo F411RE. On mbed.org online-compiler exists the class AnalogOut in mbed.h. Can I work with this class? Can I use every pin to analog output?
Question relating to:
1 Answer
9 years, 12 months ago.
No, the STM32F411 does not have a D/A converter on chip. You can find the available pin functions for that device here: http://developer.mbed.org/platforms/ST-Nucleo-F411RE/
The STM32L152 has a couple of Analog out pins and shown here: http://developer.mbed.org/platforms/ST-Nucleo-L152RE/
It has none , but if you use the pwm you can simulate one, but keep in mind the current. Use a current amplifier .
posted by Saul Lopez 26 Apr 2015