#include <Arduino.h>
#include <Wire.h>
Go to the source code of this file.
Classes | |
class | SODA |
Macros | |
#define | ADC_12BITS 0x00 |
#define | ADC_14BITS 0x04 |
#define | ADC_16BITS 0x08 |
#define | ADC_18BITS 0x0C |
#define | ADC_BASE 0x80 |
#define | ADC_CH1 0x00 |
#define | ADC_CH2 0x20 |
#define | ADC_CH3 0x40 |
#define | ADC_CH4 0x60 |
#define | ADC_CONTROL 0x00 |
#define | ADC_GAIN1 0x00 |
#define | ADC_GAIN2 0x01 |
#define | ADC_GAIN4 0x02 |
#define | ADC_GAIN8 0x03 |
#define | ADC_I2C_ADDR 0x6E |
#define | CLOCK_ALARM1_ADDR 0x07 |
#define | CLOCK_ALARM_STATUS 0x0F |
#define | CLOCK_CONTROL_ADDR 0x0E |
#define | CLOCK_I2C_ADDR 0x68 |
#define | CLOCK_SETUP 0x5 |
#define | CLOCK_TEMPERATURE_ADDR 0x11 |
#define | CLOCK_TIME_CAL_ADDR 0x00 |
#define | FILENAME "DATA.CSV" |
#define | LEDPIN 13 |
#define ADC_12BITS 0x00 |
#define ADC_14BITS 0x04 |
#define ADC_16BITS 0x08 |
#define ADC_18BITS 0x0C |
#define ADC_BASE 0x80 |
#define ADC_CH1 0x00 |
#define ADC_CH2 0x20 |
#define ADC_CH3 0x40 |
#define ADC_CH4 0x60 |
#define ADC_CONTROL 0x00 |
#define ADC_GAIN1 0x00 |
#define ADC_GAIN2 0x01 |
#define ADC_GAIN4 0x02 |
#define ADC_GAIN8 0x03 |
#define ADC_I2C_ADDR 0x6E |
#define CLOCK_ALARM1_ADDR 0x07 |
#define CLOCK_ALARM_STATUS 0x0F |
#define CLOCK_CONTROL_ADDR 0x0E |
#define CLOCK_I2C_ADDR 0x68 |
#define CLOCK_SETUP 0x5 |
#define CLOCK_TEMPERATURE_ADDR 0x11 |
#define CLOCK_TIME_CAL_ADDR 0x00 |
#define FILENAME "DATA.CSV" |
#define LEDPIN 13 |