Skip to content

Commit

Permalink
Merge pull request #104 from adafruit/revert-100-soil
Browse files Browse the repository at this point in the history
Revert "Add soil module registers enum"
  • Loading branch information
caternuson authored Oct 3, 2024
2 parents 6b6d793 + 23d0b70 commit 3e96bdd
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions Adafruit_seesaw.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ enum {
SEESAW_KEYPAD_BASE = 0x10,
SEESAW_ENCODER_BASE = 0x11,
SEESAW_SPECTRUM_BASE = 0x12,
SEESAW_SOIL_BASE = 0x13,
};

/** GPIO module function address registers
Expand Down Expand Up @@ -173,21 +172,6 @@ enum {
SEESAW_SPECTRUM_STATUS = 0xFF,
};

/** soil moisture module function address registers
*/
enum {
// 0x00..0x0F Global Settings
SEESAW_SOIL_STATUS = 0x00,
SEESAW_SOIL_RATE = 0x01,
// 0x10..0xF0 Sensor Settings
// lower four bits = sensor number
// upper four bits = setting type
SEESAW_SOIL_VALUE = 0x10,
SEESAW_SOIL_SAMPLES = 0x20,
SEESAW_SOIL_XDELAY = 0x30,
SEESAW_SOIL_TIMEOUT = 0x40,
};

#define ADC_INPUT_0_PIN 2 ///< default ADC input pin
#define ADC_INPUT_1_PIN 3 ///< default ADC input pin
#define ADC_INPUT_2_PIN 4 ///< default ADC input pin
Expand Down

0 comments on commit 3e96bdd

Please sign in to comment.