You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
384 B
C
16 lines
384 B
C
#ifndef SEN0470_H
|
|
#define SEN0470_H
|
|
|
|
// --- DIRECCIÓN I2C ---
|
|
#define SEN0470_I2C_ADDR 0x77
|
|
// --- COMANDOS ---
|
|
#define SEN0470_CTYP 0x78
|
|
#define SEN0470_QA 0x04
|
|
#define SEN0470_READ 0x86
|
|
|
|
// --- DECLARACIÓN DE MÉTODOS PARA sen0472.c ---
|
|
double getSO2(int fd, double *so2_valor); // SO2 (Dióxido de azufre)
|
|
int changeQA_SO2(int fd); // Cambio a modo Q&A
|
|
|
|
#endif // SEN0472_H
|