bmp180

所属分类:单片机开发
开发工具:C/C++
文件大小:5KB
下载次数:311
上传日期:2014-03-24 21:27:30
上 传 者yxfdg
说明:  已经调试好的压力传感器bmp180程序,测试成功 温度和压力都准确。 单片机STM32F100 在主程序中#include "bmp180.h" 定义IO口: #define I2C_SDA_PIN 7 #define I2C_SCL_PIN 6 #define I2C_GPIO GPIOB gpio_init(I2C_GPIO,I2C_SDA_PIN, GPIO_Mode_AF_OD | GPIO_Speed_50MHz) gpio_init(I2C_GPIO,I2C_SCL_PIN, GPIO_Mode_AF_OD | GPIO_Speed_50MHz) 定义全局变量: s32 bmp180_temp,bmp180_presure //bmp180 主程序调用: test_pressure_main() 即得到 温度bmp180_temp 压力bmp180_presure值
(Has good pressure sensor bmp180 program debugging, testing, temperature and pressure are accurate success. STM32F100 microcontroller in the main program# include " bmp180.h" defined IO ports:# define I2C_SDA_PIN 7# define I2C_SCL_PIN 6# define I2C_GPIO GPIOB gpio_init (I2C_GPIO, I2C_SDA_PIN, GPIO_Mode_AF_OD | GPIO_Speed_50MHz) gpio_init (I2C_GPIO, I2C_SCL_PIN, GPIO_Mode_AF_OD | GPIO_Speed_50MHz) define global variables: s32 bmp180_temp, bmp180_presure // bmp180 main program calls: test_pressure_main () ie, get the value of the temperature bmp180_temp pressure bmp180_presure)

文件列表:
bmp180\bmp180.c (5325, 2014-03-24)
bmp180\bmp180.h (369, 2014-03-24)
bmp180\bmpi2c.c (8175, 2014-03-20)
bmp180\bmpi2c.h (2317, 2014-03-24)
bmp180 (0, 2014-03-24)

近期下载者

相关文件


收藏者