Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
pt100.h
00001 #include "mbed.h" 00002 00003 00004 00005 //--------------------------------------- 00006 // Definitions 00007 //--------------------------------------- 00008 #define PT100_I2C_ADD ( I2C_BASE_ADDRESS + (0 << 1) ) // I2C_BASE_ADDRESS is defined in MCP23017 00009 00010 00011 //--------------------------------------- 00012 // Enums 00013 //--------------------------------------- 00014 00015 // Global commands 0 - 20 are defined in interpret.h 00016 // Commands 21 - 127 are HW-unit commands 00017 typedef enum 00018 { 00019 PT100_COM_SET = 21, // 21: set state 00020 PT100_COM_GET, // 22: get state 00021 //---------------- 00022 CNT_ePT100_command 00023 }ePT100_command; 00024 00025 00026 00027 //--------------------------------------- 00028 // Structures 00029 //--------------------------------------- 00030 00031 00032 00033 //--------------------------------------- 00034 // Global Variables 00035 //--------------------------------------- 00036 00037 00038 00039 //--------------------------------------- 00040 // Global Functions 00041 //--------------------------------------- 00042 void PT100_init( void ); 00043 void PT100_deviceID_process( void );
Generated on Sat Jul 16 2022 03:23:51 by
