Closed asking23 closed 6 months ago
There is no problem with float display as regular text. Perhaps you are using too many digits and it doesn't fit on the screen or counter
isn't correct.
What do you see on the screen as a result of this code?
Yes code works fine but I don't understand. If i start DMA to read ADC Channel in main. Display doesn't work.
HAL_ADC_Start_DMA(&hadc1, (uint32_t*)adc_buf, ADC_BUF_LEN); // start the adc in dma mode
If no DMA then display works fine. with snprintf function to convert float into string.
It's probably interrupt issue or something. Not this library definitely. Library doesn't affect interrupts or DMA, cause it works in blocking mode
Yes code works fine but I don't understand. If i start DMA to read ADC Channel in main. Display doesn't work.
HAL_ADC_Start_DMA(&hadc1, (uint32_t*)adc_buf, ADC_BUF_LEN); // start the adc in dma mode
If no DMA then display works fine. with snprintf function to convert float into string.
You can try setting the priority level of the DMA interrupt to lower than that of the Time base: System Tick Timer
Respectfully, this is an issue tracker, not a support forum. Please address technical questions to your favorite chat (Telegram, WhatsUp, ...), StackExchange, etc. For Russian-speaking audience I can recommend https://t.me/hwnrf
If you discovered a bug in the library, feel free opening another issue and providing explicit steps to reproduce the issue. Also specify the expected result and the result you actually got.
I am looking to add this to my RH Meter. how can i do the same ? I tried but not luck.