How to pass a variable read in an interruption to main()
Posted on June 14, 2017 at 15:14I'm reading a serial ADC from an interruption (24 bits)I need to pass its read value to the main()I have defined in /* USER CODE BEGIN PV */ a volatile variable uint32_t xxxxxThe xxxxx variable is right inside the in...