Browse Source

MAX6675: default pins and SENSOR_SUPPORT dependency (#1646, #1666)

rules-rpn
Max Prokhorov 5 years ago
committed by GitHub
parent
commit
6732487469
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions
  1. +17
    -0
      code/espurna/config/sensors.h

+ 17
- 0
code/espurna/config/sensors.h View File

@ -856,6 +856,22 @@
#define VL53L1X_INTER_MEASUREMENT_PERIOD 50 // Period, in milliseconds, determining how
#endif // often the sensor takes a measurement.
//------------------------------------------------------------------------------
// MAX6675
// Enable support by passing MAX6675_SUPPORT=1 build flag
//------------------------------------------------------------------------------
#ifndef MAX6675_CS_PIN
#define MAX6675_CS_PIN 13
#endif
#ifndef MAX6675_SO_PIN
#define MAX6675_SO_PIN 12
#endif
#ifndef MAX6675_SCK_PIN
#define MAX6675_SCK_PIN 14
#endif
//------------------------------------------------------------------------------
// EZOPH pH meter
// Enable support by passing EZOPH_SUPPORT=1 build flag
@ -916,6 +932,7 @@
V9261F_SUPPORT || \
VEML6075_SUPPORT || \
VL53L1X_SUPPORT || \
MAX6675_SUPPORT || \
EZOPH_SUPPORT \
)
#endif


Loading…
Cancel
Save