Yuji Notsu
/
TORAGI_2014_02_I2C
トランジスタ技術2014年2月号に付属のI2C実験基板を黄mbed(LPC11U24)で動かしてみました。
Diff: ADT7410.h
- Revision:
- 0:3a0493cd3408
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ADT7410.h Mon Jan 13 12:34:19 2014 +0000 @@ -0,0 +1,28 @@ +//********************** +// ADT7410.h +// +// (C)Copyright 2013 All rights reserved by Y.Onodera +// http://einstlab.web.fc2.com +//********************** +#include "mbed.h" +#ifndef ADT7410_H_ +#define ADT7410_H_ + + +#define ADT7410_ADDR 0x90 +#define ADT7410_TEMP_H 0x00 +#define ADT7410_TEMP_L 0x01 +#define ADT7410_STATUS 0x02 +#define ADT7410_CONFIG 0x03 +#define ADT7410_THIGH_H 0x04 +#define ADT7410_THIGH_L 0x05 +#define ADT7410_TLOW_H 0x06 +#define ADT7410_TLOW_L 0x07 +#define ADT7410_TCRIT_H 0x08 +#define ADT7410_TCRIT_L 0x09 +#define ADT7410_THYST_H 0x0A +#define ADT7410_ID 0x0B +#define ADT7410_RESET 0x2F + + +#endif /* ADT7410_H_ */ \ No newline at end of file