Rank: Newbie
Groups: Registered
Joined: 1/31/2020(UTC) Posts: 4
|
Does anyone have an SD card node? Thank you. Edited by user Thursday, February 06, 2020 8:34:19 AM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/11/2014(UTC) Posts: 661
Thanks: 1 times Was thanked: 36 time(s) in 33 post(s)
|
You know what's something I've been wanting to try but haven't yet. If you try making your own and run into trouble let me know and I'll help out. If you do get one working send it over to me so I can add it to the library.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 1/31/2020(UTC) Posts: 4
|
Thank you, Admin. I am currently working on it. But got into trouble with libraries location. All necessary .h files are included into Controller Settings.
Declaration: #include <SD.h> #include <SPI.h> Compiling: SdFat.h: No such file or directory
Declaration: //#include <SD.h> #include <SPI.h> Compiling: FatLib/BaseBlockDriver.h: No such file or directory
And so on. Your startup help needed!
P.S. The same code is working in Arduino 1.8.10
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/11/2014(UTC) Posts: 661
Thanks: 1 times Was thanked: 36 time(s) in 33 post(s)
|
Can you try using " in your include lines instead of < and >
Like
#include "SPI.h"
Let me know if that fixes the problem or not.
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 1/31/2020(UTC) Posts: 4
|
I've tried all posiibilities.
Succeeded when removed both .h files from the controller settings.
Further next happens: Compiling - Message log: "Error uploading to Arduino".
Going to the directory: C:\Users\Yuri\Documents\Embrio\ArduinoCompile\0b3dce57-400c-4bc6-8fdc-f8d450e72c2f\ArduinoCompile\ Open ArduinoCompile.ino with Arduino IDE. Upload to Arduino without any errors. Trying Embrio to Connect: Connecting... Listening for connected program... Message Log: "Hardware Communicator error changing state. The PortName cannot be empty. Parameter name: PortName."
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 1/31/2020(UTC) Posts: 4
|
Hi, Admin,
here is the small code, that Embrio could not suspend with. The code is working in Arduino IDE.
Declarations: #include "SPI.h" #include "SD.h"
Startup: if (!SD.begin(4)) { return; } File TextFile = SD.open("TestFile.txt", FILE_WRITE); if (TextFile) { TextFile.println("1111, 2222, 3333"); TextFile.close(); }
Embrio compiles a good ArduinoCompile.ino despite "Error uploading to Arduino". The file .ino could be separately uploaded to Arduino board. But nevertheless Embrio can't be connected to the board.
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/11/2014(UTC) Posts: 661
Thanks: 1 times Was thanked: 36 time(s) in 33 post(s)
|
Can you zip up the project and email it to me at ezra@embrio.io?
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.