cancel
Showing results for 
Search instead for 
Did you mean: 

variable sharing across multiple .c files

Yoshimitsu_Manji_clan
Associate II

Good evening all community members,

I am using STM32F4 board. My current project has multiple .c files to have a modular approach. ADC files is working on its own interrupt and another file called gpio file working on timer2 interrupt. I got a sensor's value from ADC  and i want to use this value in gpio file. Trying my best, i am not able to share adc variable's data to gpio file. Request if someone could guide me what is it that I am doing wrong here??

regards and thanks...!

 

1 REPLY 1