I am completely new to Arduino and for the life of me I cannot figure out why this isn't working. I installed the library but I am unsure why it cant find it?
C:\Users\Administrator\Documents\Arduino\Sound\Sound.ino:23:10: fatal error: STM32ADC.h: No such file or directory
23 | #include <STM32ADC.h>
| ^~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: STM32ADC.h: No such file or directory
How did you install the library? It looks to me like STM32ADC is a library supplied as part of Roger Clark's STM32 core, which is NOT the core that most people use today with STM32 boards.
Figured out the issue. Apparently I had to create a folder named "hardware" and extract the zip file there. Also I didn't realize I had to set the boot pin to 1 every time I wanted to program my Arduino. But the program is uploaded and working now.
Im having some problems with the same project. Did you downlowd the zip-folder from roger clark or could you post the link to the place where you got it from? Are you using the stm32f103c8t6 and arduino ide?
I tried making a folder called hardware inside my Arduino folder, then I extracted my STM32-master in hardware. I found the STM32-master file here:
But my Arduino IDE can not find the STM32ADC.h file inside the STM-32-master when is tries to "#include <STM32ADC.h>". Did you make any changes inside Arduino or in the files to make it work. I also do not know how to set the boot pin to 1. I found a tutorial here on how to use a STM32f103c8t6 on arduino:
I used it and tried one example so I know that it works, but if you managed to program it some other way through Arduino IDE I would like to know how.