代码搜索结果
找到约 3,982 项符合
Sensor 的代码
ctf_read_res4.m
function [ctf] = ctf_read_res4(folder,VERBOSE,COEFS);
% ctf_read_res4 - Read a CTF .res4 file
%
% ctf = ctf_read_res4( [folder], [verbose], [coefs])
%
% This function reads the resource information
refinery.h
typedef struct {
int value;
} sensor_rec,*sensor_ptr;
int presure,flow,volt,level;
int pump_ok,flow_ok;
int presure_ok,level_ok;
io.h
#include
sbit sensor0 = P3^0; //感应器0,低电平有效
sbit sensor1 = P3^1; //感应器1,低电平有效
sbit sdu = P1^6;
sbit sdd = P1^7;
sbit motor_a0 = P1^2; //步进马达A0相
sbit motor_a1 = P1^3; //步进马达A1相
sbit
makefile.am
#
# Copyright (c) 2004 by FORCE Computers
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITN
resa.c
#include
#include "h8_3048.h"
/*=====================================*/
/* Symbol definition */
/*======================================*/
/* Set Constant
wjc.hm
// Commands (ID_* and IDM_*)
HIDM_ABOUTBOX 0x10010
HID_SENSOR_UPDATE 0x18005
HID_SENSOR_SET 0x18009
// Prompts (IDP_