IIC實戰---》BH1750FVI光照強度傳感器

記錄一下IIC比較典型應用 傳感器相關介紹 //引腳定義 硬件IC--》複用開漏 普通IO---》通用推輓 #define B_LUX_V20_SCL0_O {\ GPIO_InitTypeDef GPIO_ST; \ GPIO_ST.GPIO_Pin = GPIO_Pin_1;\ GPIO_ST.GPIO_Mode = GPIO_Mode_Out_PP; \ GPIO_ST.GPIO_Spee
相關文章
相關標籤/搜索