Snippet Tag: addresses

hp203 addresses

#define HP203B_DEFAULT_ADDRESS (0x76) // (0xEC)>>1 #define HP203B_ADDRESS_UPDATED (0x77) // (0xEE)>>1 /************************************************************************** CONVERSION DELAY (in hp) **************************************************************************/ #define HP203B_CONVERSIONDELAY (100) /************************************************************************** COMMAND REGISTER **************************************************************************/ #define HP203B_CMD_SOFT_RESET (0x06) #define HP203B_CMD_CONVERT (0x40) // Convert the Sensor Output to the Digital Values #define HP203B_CMD_OSR_4096 (0x00) // Convert D1 (OSR=4096) #define HP203B_CMD_OSR_2048 (0x04) // OSR: 2048 #define HP203B_CMD_OSR_1024 (0x08) // OSR: 1024 #define HP203B_CMD_OSR_512 (0x0C) // OSR: 512 #define HP203B_CMD_OSR_256 (0x10) // OSR: 256 #define HP203B_CMD_OSR_128 (0x14) // OSR: 128 #define HP203B_CMD_CHNL_PRESTEMP (0x00) // Sensor Pressure and Temperature Channel #define HP203B_CMD_CHNL_TEMP (0x10) // Sensor Temperature Channel #define HP203B_CMD_READ_PT (0x10) // Read Temperature and Pressure Values

Read More »