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.
Suggested Topics
-
Code for beta-testing?
Controllers • 24 Mar 2014, 20:48 • andriej 9 Aug 2014, 10:44 -
Sensor presentation failure
Bug Reports • 31 Jul 2016, 19:23 • Sergio Rius 3 Mar 2021, 18:48 -
Missing "__libc_init_array();" wenn using samd without USB
Bug Reports • 6 Jul 2022, 08:36 • ltigges 7 Jul 2022, 22:43 -
Boards esp8266 v3.1.0 or Newer Doesn't Work with MySensors
Bug Reports • 21 Feb 2023, 01:55 • d-smes 25 Feb 2023, 19:37 -
sleep(0) in V2.1 doesn't sleep indefinitely anymore. Used to powerdown and sleep in V1.5
Bug Reports • 22 Nov 2019, 00:35 • GaryStofer 15 Apr 2023, 05:50 -
Making WiFiManager compatible with MySensors 2.3.2
Bug Reports • 12 Feb 2020, 21:43 • pihome 1 Jun 2022, 16:02