variable sharing across multiple .c files
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...!
