用HAL库方式驱动0.96的OLED屏,原来的例程是OLED厂商提供的,但不是用HAL方式,现改用HAL库方式
bmp280_stm32hal库——spi方式
这是基于stm32的SD卡读写读写程序,很好,很实用,以经过测试。
STM32+红外解码,利用STM32定时器捕捉的方式进行红外解码,使用OLED显示,OLED使用模拟SPI协议,注意,红外的初始化最好放在最后面,因为时钟,和IO口初始化,配置问题。
stm32利用硬件spi和模拟方式方式驱动AD7993,原理图标的是AD7992,但是可用AD7993.
STM 32 IAP(对flash进行读写)。
STM32F103读写内部Flash,软件经过测试,每页读写最大1024(半字)/512(字)均没问题。
此程序包括对stm32f100系列芯片的flash的读写程序,及相关初始化定义
STM8S105读写ADE7758 SPI方式,完整驱动程序
本人亲测成功,可以跑起来。网上找到的源代码,移植成功,进过测试和调试,在iar和keil4开发环境上都能够跑起来。发给大家作为参考,源代码功能说明都在里面,仔细看看的懂。库函数和工程文件也全部在里面。