Open palmerr23 opened 7 years ago
Hello, I have been unable to run the example codes you included. Is there a setup required? If there is, can you explain? Thanks for the great job.
Hi,
This is very old code. It is based on a very early edition of the STM32 Arduino libraries, provided by ST Micro.
They may or may not still work, with the new libraries Frederic Pillon @fpistm has included in the current STM32 Arduino Boards Manager download. I'd look to his example files for insight on how to use the ADCs - as both are based on the core example code in the STM32F4 Cube.
I hope this helps.
Extend basic ADC functions available via analog.c at https://github.com/stm32duino/Arduino_Core_STM32F4
Create a flexible ADC library
Unless I find some significantly better features elsewhere, I will use the Maple library as a basis, as it has familiarity amongst Arduino STM32 users.
Currently have Single and Continuous conversions working with polling and interrupts.