- liblbfgs-1.7 This library is a C port of the implementation of Limited
- Shamir Scheme. Implmentació a cryptographic protocol based on the threshold scheme.
- m-mtip-10_100_1000_ethermac 10/100 0M以太网MAC解决方案
- ecos 目前做的很好的实时嵌入式操作系统大名鼎鼎的ECOS的详细学习资料
- sun_earth4 用于绘制太阳系的动画图
- tuxiangfenge vs开发环境简便快捷是实现图像分割的C++程序
文件名称:bmp180
介绍说明--下载内容来自于网络,使用问题请自行百度
已经调试好的压力传感器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
单片机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
bmp180/bmp180.h
bmp180/bmpi2c.c
bmp180/bmpi2c.h
bmp180
bmp180/bmp180.h
bmp180/bmpi2c.c
bmp180/bmpi2c.h
bmp180
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
