How to use pololu QTR-8rc with STM32

I have been using Pololu QTR 8RC sensors with my Arduino nano, I want to switch to STM32 blue pill. I haven’t found any library for stm32. when I tried to use it with Arduino library, the sensors worked with only certain pins (only 2-3).
How do I use the sensors with STM32?

Thanks in advance :slight_smile:


We are not familiar with the STM32 Blue Pill, so we cannot offer much support. Interfacing with the QTR sensors is pretty easy, so you might consider writing your own code instead of trying to understand how our QTR library works and modifying it. The procedure is documented on the QTR-8RC’s product page and in its user’s guide.

- Amanda