トランジスタ技術2014年2月号に付属のI2C実験基板を黄mbed(LPC11U24)で動かしてみました。

Dependencies:   mbed

ADT7410.h

Committer:
y_notsu
Date:
2014-01-13
Revision:
0:3a0493cd3408

File content as of revision 0:3a0493cd3408:

//**********************
// 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_ */