Change pin numbers for esp8266 → esp32 change, but whether they are actually correct of not is correctly unclear
as usual, it's all untested....
This commit is contained in:
parent
f6d158236e
commit
cfa67aea37
2 changed files with 13 additions and 10 deletions
|
@ -1,11 +1,13 @@
|
||||||
#include <bitset>
|
#include <bitset>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#define MULTIPLEX_PINA D5
|
// WAS D5 D6 D7
|
||||||
#define MULTIPLEX_PINB D6
|
#define MULTIPLEX_PINA 17
|
||||||
#define MULTIPLEX_PINC D7
|
#define MULTIPLEX_PINB 16
|
||||||
|
#define MULTIPLEX_PINC 4
|
||||||
|
|
||||||
#define ANALOG_PIN A0
|
// WAS A0
|
||||||
|
#define ANALOG_PIN 34
|
||||||
|
|
||||||
/*
|
/*
|
||||||
000 0
|
000 0
|
||||||
|
@ -27,8 +29,6 @@
|
||||||
// Ref https://stackoverflow.com/a/523737/1460422
|
// Ref https://stackoverflow.com/a/523737/1460422
|
||||||
#define CHECK_BIT(var,pos) ((var) & (1<<(pos)))
|
#define CHECK_BIT(var,pos) ((var) & (1<<(pos)))
|
||||||
|
|
||||||
int soilPin = D3;
|
|
||||||
|
|
||||||
float referenceVoltage = 3.3;
|
float referenceVoltage = 3.3;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -13,11 +13,14 @@
|
||||||
|
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
|
|
||||||
#define MULTIPLEX_PINA D5
|
// WAS D5 D6 D7
|
||||||
#define MULTIPLEX_PINB D6
|
|
||||||
#define MULTIPLEX_PINC D7
|
|
||||||
|
|
||||||
#define ANALOG_PIN A0
|
#define MULTIPLEX_PINA 17
|
||||||
|
#define MULTIPLEX_PINB 16
|
||||||
|
#define MULTIPLEX_PINC 4
|
||||||
|
|
||||||
|
// WAS A0
|
||||||
|
#define ANALOG_PIN 34
|
||||||
|
|
||||||
/*
|
/*
|
||||||
000 0
|
000 0
|
||||||
|
|
Loading…
Reference in a new issue