The following Sketch did not compile: Error: if ( digitalPinIsValid(pin) && pin <= 33 ) // pins above 33 can be only inputs
The Sketch beginns with:
#include “LoRaWan_APP.h”
#include “HX711.h”
#include “DHT.h”
#include <OneWire.h>
#include <DallasTemperature.h>
// HX711 Pins
const int LOADCELL_DOUT_PIN = 35;
const int LOADCELL_SCK_PIN = 36;
long offset = 61087;
double faktor = 0.081142611;
HX711 scale;
// DHT Sensor
#define DHTPIN 19 // GPIO Pin für den DHT-Sensor
#define DHTTYPE DHT22 // DHT 22 (AM2302)
DHT dht(DHTPIN, DHTTYPE);
// DS18B20 Sensor
const int oneWireBus = 33;
OneWire oneWire(oneWireBus);
DallasTemperature sensors(&oneWire);
DeviceAddress sensorrot = { 0x28, 0x08, 0xA8, 0x83, 0x0B, 0x00, 0x00, 0x22 };
DeviceAddress sensor2 = { 0x28, 0xFF, 0x07, 0x9E, 0xA1, 0x16, 0x05, 0xC9 };
/* OTAA para*/
uint8_t devEui[] …
Does Anyone have an idea about this error? (i have also testet oneWireBus =7 and 4)
Thanks