pb compilation MEGA2560 + sketch W5100
-
Hello,
I'm Mysensors user newbie ;-) and I want create Ethernet Gateway
I use:
- Arduino 1.6.4 on Yosemit
--> IDE in System/Applications
--> library are in /Volumes/Data/Documents/Arduino/Arduino-master (or Arduino-development) - MEGA2560
- Ethernet Shield W5100 (like this : https://www.arduino.cc/en/Guide/ArduinoEthernetShield)
- NRF24L01+ (1436AH)
- MySensors Arduino Library v1.5
Pin configuration:
CE : 10
CSN : 11
MISO : 50
MOSI : 51
SCK : 52I uncommented #define SOFTSPI in MyConfig.h
But compilation doesn't work. Can you help me please?
EthernetGateway.ino:59:90: fatal error: DigitalIO.h: No such file or directory
compilation terminated.For information:
- I tryed master and development branch and it's the same
- I tryed without Ethernet Shield W5100, same again
Thank you for your help,
Fabrice.
- Arduino 1.6.4 on Yosemit
-
Hello,
I'm Mysensors user newbie ;-) and I want create Ethernet Gateway
I use:
- Arduino 1.6.4 on Yosemit
--> IDE in System/Applications
--> library are in /Volumes/Data/Documents/Arduino/Arduino-master (or Arduino-development) - MEGA2560
- Ethernet Shield W5100 (like this : https://www.arduino.cc/en/Guide/ArduinoEthernetShield)
- NRF24L01+ (1436AH)
- MySensors Arduino Library v1.5
Pin configuration:
CE : 10
CSN : 11
MISO : 50
MOSI : 51
SCK : 52I uncommented #define SOFTSPI in MyConfig.h
But compilation doesn't work. Can you help me please?
EthernetGateway.ino:59:90: fatal error: DigitalIO.h: No such file or directory
compilation terminated.For information:
- I tryed master and development branch and it's the same
- I tryed without Ethernet Shield W5100, same again
Thank you for your help,
Fabrice.
@brakc said:
Hello,
I'm Mysensors user newbie ;-) and I want create Ethernet Gateway
I use:
- Arduino 1.6.4 on Yosemit
--> IDE in System/Applications
--> library are in /Volumes/Data/Documents/Arduino/Arduino-master (or Arduino-development) - MEGA2560
- Ethernet Shield W5100 (like this : https://www.arduino.cc/en/Guide/ArduinoEthernetShield)
- NRF24L01+ (1436AH)
- MySensors Arduino Library v1.5
Pin configuration:
CE : 10
CSN : 11
MISO : 50
MOSI : 51
SCK : 52I uncommented #define SOFTSPI in MyConfig.h
But compilation doesn't work. Can you help me please?
EthernetGateway.ino:59:90: fatal error: DigitalIO.h: No such file or directory
compilation terminated.For information:
- I tryed master and development branch and it's the same
- I tryed without Ethernet Shield W5100, same again
Thank you for your help,
Fabrice.
Where is your "mysensor" library?
Digital.io is in the utilities directory of "mysensors". - Arduino 1.6.4 on Yosemit
-
Hello,
DigitalIO
/Volumes/Data/Documents/Arduino/libraries/Arduino-master/DigitalIOMySensors
/Volumes/Data/Documents/Arduino/libraries/Arduino-master/MySensorsI don't have utilities directory in MySensors
For information, if I use EthernetGatway exemple in mysensor site : http://www.mysensors.org/build/ethernet_gateway
If I comment "#include <DigitalIO.h>" I have a same problem with other include : MySigningNone.h, MyTransportRFM69.h ...
Only SPI.h is OK
Thanks for your help
-
@hek said:
Development branch should be working for you.
Branch development is same :disappointed:
MyConfig.h
// Enable SOFTSPI for NRF24L01 when using the W5100 Ethernet module #define SOFTSPI #ifdef SOFTSPI // Define the soft SPI pins used for NRF radio const uint8_t SOFT_SPI_MISO_PIN = 50; const uint8_t SOFT_SPI_MOSI_PIN = 51; const uint8_t SOFT_SPI_SCK_PIN = 52; #endifAnd I use default example EthernetGateway.ino
Other suggestion please?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login