|
Open Garden
0.10.1-21
|
#include <stdlib.h>#include <stdio.h>#include <avr/io.h>#include <util/delay.h>#include "tcn75.h"
Functions | |
| uint8_t | tcn75_write_config_reg (const uint8_t cfg) |
| uint8_t | tcn75_read_config_reg (uint8_t *reg) |
| void | tcn75_one_shot (void) |
| take a temperature sample. More... | |
| void | tcn75_init (void) |
| float | tcn75_read_temperature (void) |
PC0 SCL PC1 SDA PC2 IN ALLERT PC3 - 5 ADDRESS
| void tcn75_init | ( | void | ) |
Initialize tcn75
| void tcn75_one_shot | ( | void | ) |
take a temperature sample.
| uint8_t tcn75_read_config_reg | ( | uint8_t * | reg | ) |
read config register.
| float tcn75_read_temperature | ( | void | ) |
read the temperature and return it in a float
| uint8_t tcn75_write_config_reg | ( | const uint8_t | cfg | ) |
write config register.
1.8.13