Hello.
Do you have any idea how to add to this code auto reset for instance every one hour? i have a problem with my sensor, because sometimes it is not responding, and i dont have any idea how to reset arduino automaticly
PaweMed
@PaweMed
Best posts made by PaweMed
Latest posts made by PaweMed
-
RE: Solar Powered Soil Moisture Sensor
-
RE: Solar Powered Soil Moisture Sensor
Hello. What should i do, when i have this problems:
czujnik:12: error: expected unqualified-id before 'default'
default BOD settings.
^
C:\Users\Kompek\Downloads\arduino-1.6.9\czujnik\czujnik.ino: In function 'void setup()':
czujnik:43: error: 'SENSOR_ANALOG_PINS' was not declared in this scope
for (int i = 0; i < N_ELEMENTS(SENSOR_ANALOG_PINS); i++) {
^
C:\Users\Kompek\Downloads\arduino-1.6.9\czujnik\czujnik.ino:5:35: note: in definition of macro 'N_ELEMENTS'
#define N_ELEMENTS(array) (sizeof(array)/sizeof((array)[0]))
^
C:\Users\Kompek\Downloads\arduino-1.6.9\czujnik\czujnik.ino: In function 'int readMoisture()':
czujnik:102: error: 'SENSOR_ANALOG_PINS' was not declared in this scope
pinMode(SENSOR_ANALOG_PINS[direction], INPUT_PULLUP); // Power on the sensor
^
exit status 1
expected unqualified-id before 'default' -
RE: Irrigation Controller (up to 16 valves with Shift Registers)
Hello, is there anyone who can explain to me step by step how to deal with these libraries ? I received this error when compiling :
"C:\Users\witkowski.med\Downloads\IrrigationController\IrrigationController\IrrigationController.ino:85:22: fatal error: MySensor.h: No such file or directory
#include <MySensor.h>
^
compilation terminated.
exit status 1"
I have installed the various library and it doesnt help. My IDE version is 1.6.10.