MyConfig.h error
-
Line 21 and 22
#ifndef MyConfig_h
#define MyConfig_hWhy ?
-
@Fat-Fly That's standard practice in C programming. It avoids problems when the file is included more than one time. It is not an error.
Why are you asking?
-
I copy mysensors library to comp and trying set nrf_gw power to max and these errors. Then verify sketch and arduino ide says this error in myconfig.h line 21 and 22
-
Then this error is okay but arduino ide not find DigitalIO.h.
/home/insippo/sketchbook/libraries/MySensors/utility/RF24.h:20:23: fatal error: DigitalIO.h: No such file or directory
#include <DigitalIO.h>I do not understand why arduino ide not find this.
-
Isn't that DigitalIO -thing what happens when you forget to disable 'soft SPI' back again after compiling e.g. EthernetGW ?
-
I so not disable soft spi if i install gw. After i try.