Read temperature from a TCN75 (or LM75) I2C thermometer
Dependencies: mbed
06_i2c_tcn75
Read temperature from a TCN75 (or LM75) I2C thermometer. I2C address: 1 0 0 1 A2 A2 A0
Hardware requirements:
- FRDM-KL25Z board
- TCN75 (or LM75) thermometer
Wiring scheme:
TCN75 | FRDM-25KLZ |
---|---|
1. SDA | D14 (PTE0) |
2. SCL | D15 (PTE1) |
3. ALERT | (not used) |
4. GND | GND |
5. A2 | GND |
6. A1 | GND |
7. A0 | GND |
8. VCC | 3V3 |
Note: Pins SDA, SCL and Alert must be pulled up by external resistors.
Revisions of main.cpp
Revision | Date | Message | Actions |
---|---|---|---|
0:84ce5e2a89b1 | 2015-11-25 | First version | File Diff Annotate |