stm32cubemx light environment sensor AP3216C use

stm32cubemx realizes simulation IIC
https://blog.csdn.net/qq_45467083/article/details/109433847

Thanks to the open source support of Punctual Atom, the following AP3216 driver code comes from Punctual Atom.
Insert picture description here
Insert picture description here

This experiment uses analog iic to drive AP3216C, and does not use the INT pin. If you need to receive AP3216C interrupts, you can configure an io input interrupt for processing.

Guess you like

Origin blog.csdn.net/qq_45467083/article/details/109448406