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
374 B
C
16 lines
374 B
C
#ifndef SEN0466_H
|
|
#define SEN0466_H
|
|
|
|
// --- DIRECCIÓN I2C ---
|
|
#define SEN0466_I2C_ADDR 0x76
|
|
// --- COMANDOS ---
|
|
#define SEN0466_CTYP 0x78
|
|
#define SEN0466_QA 0x04
|
|
#define SEN0466_READ 0x86
|
|
|
|
// --- DECLARACIÓN DE MÉTODOS PARA sen0466.c ---
|
|
int getCO(int fd, int *co_valor); // CO (Monoxido de Carbono)
|
|
int changeQA_CO(int fd); // Cambio a modo Q&A
|
|
|
|
#endif // SEN0466_H
|