Hi, I would like to write a stm32f4 discovery code using First In Last Out queue of any length. I am initially confusing what is the main communication protocol should i use USART or SPI or I2C etc......I would like to use Vbat voltage sampled once per second as long as space exists in the queue. Please anyone give some light at the beginning for this confusion...
STM32F4xx_DSP_StdPeriph_Lib_V1.3.0\Project\STM32F4xx_StdPeriph_Examples\ADC\ADC_VBATMeasurement\main.c
Bunch of other examples including timers in the library.