![](/media/cache/profiles/BYNBmpmCQAAYTvZ.jpg.50x50_q85.jpg)
トランジスタ技術2014年2月号に付属のI2C実験基板を黄mbed(LPC11U24)で動かしてみました。
ADT7410.h@0:3a0493cd3408, 2014-01-13 (annotated)
- Committer:
- y_notsu
- Date:
- Mon Jan 13 12:34:19 2014 +0000
- Revision:
- 0:3a0493cd3408
????????2014?2???????mbed???????
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
y_notsu | 0:3a0493cd3408 | 1 | //********************** |
y_notsu | 0:3a0493cd3408 | 2 | // ADT7410.h |
y_notsu | 0:3a0493cd3408 | 3 | // |
y_notsu | 0:3a0493cd3408 | 4 | // (C)Copyright 2013 All rights reserved by Y.Onodera |
y_notsu | 0:3a0493cd3408 | 5 | // http://einstlab.web.fc2.com |
y_notsu | 0:3a0493cd3408 | 6 | //********************** |
y_notsu | 0:3a0493cd3408 | 7 | #include "mbed.h" |
y_notsu | 0:3a0493cd3408 | 8 | #ifndef ADT7410_H_ |
y_notsu | 0:3a0493cd3408 | 9 | #define ADT7410_H_ |
y_notsu | 0:3a0493cd3408 | 10 | |
y_notsu | 0:3a0493cd3408 | 11 | |
y_notsu | 0:3a0493cd3408 | 12 | #define ADT7410_ADDR 0x90 |
y_notsu | 0:3a0493cd3408 | 13 | #define ADT7410_TEMP_H 0x00 |
y_notsu | 0:3a0493cd3408 | 14 | #define ADT7410_TEMP_L 0x01 |
y_notsu | 0:3a0493cd3408 | 15 | #define ADT7410_STATUS 0x02 |
y_notsu | 0:3a0493cd3408 | 16 | #define ADT7410_CONFIG 0x03 |
y_notsu | 0:3a0493cd3408 | 17 | #define ADT7410_THIGH_H 0x04 |
y_notsu | 0:3a0493cd3408 | 18 | #define ADT7410_THIGH_L 0x05 |
y_notsu | 0:3a0493cd3408 | 19 | #define ADT7410_TLOW_H 0x06 |
y_notsu | 0:3a0493cd3408 | 20 | #define ADT7410_TLOW_L 0x07 |
y_notsu | 0:3a0493cd3408 | 21 | #define ADT7410_TCRIT_H 0x08 |
y_notsu | 0:3a0493cd3408 | 22 | #define ADT7410_TCRIT_L 0x09 |
y_notsu | 0:3a0493cd3408 | 23 | #define ADT7410_THYST_H 0x0A |
y_notsu | 0:3a0493cd3408 | 24 | #define ADT7410_ID 0x0B |
y_notsu | 0:3a0493cd3408 | 25 | #define ADT7410_RESET 0x2F |
y_notsu | 0:3a0493cd3408 | 26 | |
y_notsu | 0:3a0493cd3408 | 27 | |
y_notsu | 0:3a0493cd3408 | 28 | #endif /* ADT7410_H_ */ |