代码搜索结果
找到约 823 项符合
Pressure 的代码
pressure.c
/*
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of t
pressure.c
/*
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of t
pressure.txt
1 2251,2292,2142,2614,1948,2080,2154,2134
2 2252,2334,2143,2832,1911,2370,2228,1973
3 2252,2340,2144,2849,1908,2407,2248,1935
4 2254,2335,2144,2849,1909,2415,2248,1975
5 2254,2334,2143,2822,1915,2
pressure.h
#pragma once
class Pressure
{
public:
static double kPa_Pa(double p)
{
return p*1000;
}
static double bar_Pa(double p)
{
return p*1e5;
}
pressure.h
#ifndef _pressure_h_
#define _pressure_h_
extern void Get_Pressure(void);
extern void Pressure_Control(void);
extern void Motor_Position_Init(void);
extern void Over_Pressure_Protecting(void
pressure.c
#include
#include //mcu端口的使用定义
#include
#include
#define K 1 //压力值放大系数
#define Pressure_M
pressure.c
/*
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of t