SPICA STM32 Code Chunks

Functioning ADC (Charge Continuity):

Note: Figure out what &hadc1 needs to be to actually be CONT1 (real pin name)


Functioning Button:

Inverted logic due to input_pullup


Custom Pin Names:

Private defines are what you named stuff in CubeMX – can be found in main.h file