This reference manual targets application developers. It provides complete information on how to use the STM8L05xx, STM8L15xx, STM8L16xx, STM8AL31xx and STM8AL3Lxx microcontroller memory and peripherals. The STM8L05xx/STM8L15xx/STM8L16xx/ STM8AL31xx
STM8S103通过模拟I2C读取三轴芯片ADXL345 重力加速度三轴数据的源码,调试正常. 特别提示: iar集成开发环境调试状态下读数据不正常.可编译后下载到芯片中,重启单片机,通过USB转TTL串口通讯模块看 数据格式为: X = 1142.7 g ,Y = 351.0 g ,Z = 1571.7 g ADXL345数据手册一同打包上传了.