If there are no nodes in the project, or I imagine specifically no inputs or outputs, Embrio uploads a connection program and then fails to connect. This seems to be because there are no nodes reporting in. Obviously projects with no nodes are of limited usefulness, but this came up while debugging a different problem: "Custom Arduino Nodes", the ones that recently had a "minimize" option added to hide their code, seem to have no effect within node groups. I was attempting to create a reusable node for my PCF8574 chips, and I intended to do this by including the custom node in a node group. I created a node that worked just fine (
see previous bug report), however when included in a node group, the custom code I had written to interface with the hardware was not even visible in the ArduinoCompile arduino project that Embrio uses to upload code. It was as if the node group was completely empty.
Steps to reproduce:
- Create a custom arduino node
- Do something visible from outside of the arduino: write to the I2C bus, use SoftwareSerial, etc.
- Build a node group consisting of just the custom arduino node
- Have there be one agent in the project, which contains only one node, the node group you just created
- Connect
Embrio should eventually say "no connection" near the connect icons. If there is some technical reason that custom arduino nodes cannot be included in node groups, please explain this in the documentation. Otherwise, I request that you ensure that custom arduino nodes can be included in node groups. Also, I request that if a project has no nodes at all (or perhaps simply "empty" node groups), that Embrio inform the user of the fact without even attempting to compile.
I'm using Embrio 1.3.5.0, Arduino IDE 1.6.6, and I'm running on an arduino R3. I'm using Windows 7 64 bit.
Edited by user Sunday, January 24, 2016 4:24:01 PM(UTC)
| Reason: Not specified