Welcome Guest! To enable all features please Login or Register.
Options
Go to last post Go to first unread
fasasoftware@gmail.com  
#1 Posted : Monday, December 28, 2015 11:54:14 AM(UTC)
fasasoftware@gmail.com

Rank: Advanced Member

Groups: BetaUser, Registered
Joined: 12/28/2015(UTC)
Posts: 31

Was thanked: 18 time(s) in 18 post(s)
I can't drive my i2c display....the compiler don't show me the trigger and text input as seen on the video tutorial...how i can do?? also the compiler say to me this:
_________________________________
16:24:32 ld returned 1 exit status
16:24:32 Arduino upload process finished.
16:24:32 Error parsing error line: collect2.exe: error: ld returned 1 exit status
Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
16:24:32 Arduino Version: unknown
_______________________________________________

this is the follow code:

Quote:

<EmbrioCopy>
<Version>1.3.1.0</Version>
<Nodes>
<Node>
<UniqueID>50b824b0-8366-4525-8c32-a7ee72d829fc</UniqueID>
<AssemblyType>Embrio.NodeEngine.AgentController.Nodes.AgentControllerCustomArduinoNode</AssemblyType>
<NodeType>Custom Arduino Node</NodeType>
<UserDefinedName>LCD</UserDefinedName>
<Description>A node that lets you write any Arduino code to interact with the Arduino hardware. Can be both an input and output.</Description>
<NodeColor>144,183,227,255</NodeColor>
<X>0</X>
<Y>0</Y>
<Width>481</Width>
<IncludeCode>#include &lt;LiquidCrystal_I2C.h&gt;</IncludeCode>
<DeclerationCode>LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); </DeclerationCode>
<SetupCode>lcd.begin(16,2);</SetupCode>
<ImageName>arduino.png</ImageName>
<InfoURL></InfoURL>
<CodeDefinitions>
<CodeDefinition>
<TriggerInputID>a5912cca-f94c-4816-89e2-b61d6e6c4f8b</TriggerInputID>
<UpdateCondition>EveryUpdate</UpdateCondition>
<Code>lcd.clear();
lcd.print(Input_Text);</Code>
<UniqueID>eba1670b-c46c-4da7-8e37-098be49128a8</UniqueID>
</CodeDefinition>
</CodeDefinitions>
<Inputs>
<Input>
<UniqueID>cd2239ca-007e-4ad7-8c35-4e2eaed5c057</UniqueID>
<DefinitionID>00000000-0000-0000-0000-000000000000</DefinitionID>
<DefaultName>Text 1</DefaultName>
<CustomName>Text</CustomName>
<IsDisplayed>True</IsDisplayed>
<IsNative>False</IsNative>
<TypeName>String</TypeName>
<IsOutsideConnection>False</IsOutsideConnection>
<IOType>Embrio.NodeEngine.NodeIO.StringNodeInput</IOType>
<ShowGraph>False</ShowGraph>
<LinkedIOID>00000000-0000-0000-0000-000000000000</LinkedIOID>
<IsUserAdded>True</IsUserAdded>
<ConnectedOutputs></ConnectedOutputs>
<DisconnectedValue></DisconnectedValue>
<MaxLength>10</MaxLength>
</Input>
<Input>
<UniqueID>3369c17d-445a-44ac-8536-7786b6f8f7b3</UniqueID>
<DefinitionID>00000000-0000-0000-0000-000000000000</DefinitionID>
<DefaultName>Trigger</DefaultName>
<CustomName></CustomName>
<IsDisplayed>True</IsDisplayed>
<IsNative>False</IsNative>
<TypeName>Trigger</TypeName>
<IsOutsideConnection>False</IsOutsideConnection>
<IOType>Embrio.NodeEngine.NodeIO.TriggerNodeInput</IOType>
<ShowGraph>False</ShowGraph>
<LinkedIOID>00000000-0000-0000-0000-000000000000</LinkedIOID>
<IsUserAdded>True</IsUserAdded>
<ConnectedOutputs></ConnectedOutputs>
</Input>
</Inputs>
<Outputs></Outputs>
</Node>
</Nodes>
</EmbrioCopy>


Can somebody help me please??? thanks a lot..... LestrosoBlushing

Edited by user Tuesday, December 29, 2015 6:32:05 AM(UTC)  | Reason: Not specified

thanks 1 user thanked fasasoftware@gmail.com for this useful post.
sample@email.tst on 4/7/2024(UTC)
fasasoftware@gmail.com  
#2 Posted : Tuesday, December 29, 2015 10:25:05 AM(UTC)
fasasoftware@gmail.com

Rank: Advanced Member

Groups: BetaUser, Registered
Joined: 12/28/2015(UTC)
Posts: 31

Was thanked: 18 time(s) in 18 post(s)
Dear friends,

I solved my problem in part...I forgive to put the wire library either in the code , either, in the arduino documents and in the libraries embrio, ...Now i can see my Custom text...but i have another problem....I see my Message only on the first line on the top, but on the second line i see 3 number like this: 0.00 I don't know why?? The Software Embrio don't let me change , delete those zeros....

Can some body help me please???

Here my new working I2c display in part........:

Quote:

<EmbrioCopy>
<Version>1.3.1.0</Version>
<Nodes>
<Node>
<UniqueID>f19d0b3f-ad16-4474-b239-b4aa66282c79</UniqueID>
<AssemblyType>Embrio.NodeEngine.AgentController.Nodes.AgentControllerCustomArduinoNode</AssemblyType>
<NodeType>Custom Arduino Node</NodeType>
<UserDefinedName></UserDefinedName>
<Description>A node that lets you write any Arduino code to interact with the Arduino hardware. Can be both an input and output.</Description>
<NodeColor>144,183,227,255</NodeColor>
<X>0</X>
<Y>0</Y>
<Width>563</Width>
<IncludeCode>#include &lt;Wire.h&gt;
#include &lt;LiquidCrystal_I2C.h&gt;</IncludeCode>
<DeclerationCode>LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);</DeclerationCode>
<SetupCode>Wire.begin();
lcd.begin(16,2);
delay(250);
lcd.clear();</SetupCode>
<ImageName>arduino.png</ImageName>
<InfoURL></InfoURL>
<CodeDefinitions>
<CodeDefinition>
<TriggerInputID>6dafaf4e-e449-4c8c-bcc2-3cc57740bb02</TriggerInputID>
<UpdateCondition>Trigger</UpdateCondition>
<Code>lcd.clear();
lcd.print(Input_Text1);
</Code>
<UniqueID>f270377c-bde5-4df6-b9d8-4142b1cb4deb</UniqueID>
</CodeDefinition>
<CodeDefinition>
<UpdateCondition>InputChange</UpdateCondition>
<Code>lcd.setCursor(0,1);
lcd.print(Input_Activation1);
</Code>
<UniqueID>618ab838-e0eb-4d98-9228-e7d27b03b4fd</UniqueID>
<Inputs>
<Input>1e768dd8-623b-4b14-ac9c-c04494e0fd02</Input>
</Inputs>
</CodeDefinition>
<CodeDefinition>
<UpdateCondition>InputChange</UpdateCondition>
<Code>lcd.setCursor(1,1);
lcd.print(Input_Activation2);</Code>
<UniqueID>ae34d219-ee7b-4dc7-b7b0-5ffb89098f0d</UniqueID>
<Inputs>
<Input>7ce74286-c987-43e6-bac5-2c0b9f2202c8</Input>
</Inputs>
</CodeDefinition>
<CodeDefinition>
<TriggerInputID>5ab77e29-0910-439c-b2f0-ce658ccaaba2</TriggerInputID>
<UpdateCondition>Trigger</UpdateCondition>
<Code>lcd.clear();
lcd.print(Input_Text2);</Code>
<UniqueID>5260478e-b8a4-46e0-88b3-1a4559e5eda2</UniqueID>
</CodeDefinition>
</CodeDefinitions>
<Inputs>
<Input>
<UniqueID>6dafaf4e-e449-4c8c-bcc2-3cc57740bb02</UniqueID>
<DefinitionID>00000000-0000-0000-0000-000000000000</DefinitionID>
<DefaultName>Trigger</DefaultName>
<CustomName>Print</CustomName>
<IsDisplayed>True</IsDisplayed>
<IsNative>False</IsNative>
<TypeName>Trigger</TypeName>
<IsOutsideConnection>False</IsOutsideConnection>
<IOType>Embrio.NodeEngine.NodeIO.TriggerNodeInput</IOType>
<ShowGraph>False</ShowGraph>
<LinkedIOID>00000000-0000-0000-0000-000000000000</LinkedIOID>
<IsUserAdded>True</IsUserAdded>
<ConnectedOutputs></ConnectedOutputs>
</Input>
<Input>
<UniqueID>769744b4-6f9e-4e89-8409-b05aa8b41114</UniqueID>
<DefinitionID>00000000-0000-0000-0000-000000000000</DefinitionID>
<DefaultName>Text</DefaultName>
<CustomName>Text1</CustomName>
<IsDisplayed>True</IsDisplayed>
<IsNative>False</IsNative>
<TypeName>String</TypeName>
<IsOutsideConnection>False</IsOutsideConnection>
<IOType>Embrio.NodeEngine.NodeIO.StringNodeInput</IOType>
<ShowGraph>False</ShowGraph>
<LinkedIOID>00000000-0000-0000-0000-000000000000</LinkedIOID>
<IsUserAdded>True</IsUserAdded>
<ConnectedOutputs></ConnectedOutputs>
<DisconnectedValue>Fasasoftware....</DisconnectedValue>
<MaxLength>16</MaxLength>
</Input>
<Input>
<UniqueID>1e768dd8-623b-4b14-ac9c-c04494e0fd02</UniqueID>
<DefinitionID>00000000-0000-0000-0000-000000000000</DefinitionID>
<DefaultName>Activation</DefaultName>
<CustomName>Activation1</CustomName>
<IsDisplayed>True</IsDisplayed>
<IsNative>False</IsNative>
<TypeName>Numeric</TypeName>
<IsOutsideConnection>False</IsOutsideConnection>
<IOType>Embrio.NodeEngine.NodeIO.NumericNodeInput</IOType>
<ShowGraph>False</ShowGraph>
<LinkedIOID>00000000-0000-0000-0000-000000000000</LinkedIOID>
<IsUserAdded>True</IsUserAdded>
<ConnectedOutputs></ConnectedOutputs>
<BlendMode>Add</BlendMode>
<DisconnectedValue>0</DisconnectedValue>
<UseNegativeRange>False</UseNegativeRange>
<CanUseNegativeRange>True</CanUseNegativeRange>
</Input>
<Input>
<UniqueID>8d0acaf2-ec8a-4014-b87a-6a20cbd57535</UniqueID>
<DefinitionID>00000000-0000-0000-0000-000000000000</DefinitionID>
<DefaultName>Text 1</DefaultName>
<CustomName>Text2</CustomName>
<IsDisplayed>True</IsDisplayed>
<IsNative>False</IsNative>
<TypeName>String</TypeName>
<IsOutsideConnection>False</IsOutsideConnection>
<IOType>Embrio.NodeEngine.NodeIO.StringNodeInput</IOType>
<ShowGraph>False</ShowGraph>
<LinkedIOID>00000000-0000-0000-0000-000000000000</LinkedIOID>
<IsUserAdded>True</IsUserAdded>
<ConnectedOutputs></ConnectedOutputs>
<DisconnectedValue>The Best !!!!!!!</DisconnectedValue>
<MaxLength>16</MaxLength>
</Input>
<Input>
<UniqueID>7ce74286-c987-43e6-bac5-2c0b9f2202c8</UniqueID>
<DefinitionID>00000000-0000-0000-0000-000000000000</DefinitionID>
<DefaultName>Activation 1</DefaultName>
<CustomName>Activation2</CustomName>
<IsDisplayed>True</IsDisplayed>
<IsNative>False</IsNative>
<TypeName>Numeric</TypeName>
<IsOutsideConnection>False</IsOutsideConnection>
<IOType>Embrio.NodeEngine.NodeIO.NumericNodeInput</IOType>
<ShowGraph>False</ShowGraph>
<LinkedIOID>00000000-0000-0000-0000-000000000000</LinkedIOID>
<IsUserAdded>True</IsUserAdded>
<ConnectedOutputs></ConnectedOutputs>
<BlendMode>Add</BlendMode>
<DisconnectedValue>0</DisconnectedValue>
<UseNegativeRange>False</UseNegativeRange>
<CanUseNegativeRange>True</CanUseNegativeRange>
</Input>
<Input>
<UniqueID>5ab77e29-0910-439c-b2f0-ce658ccaaba2</UniqueID>
<DefinitionID>00000000-0000-0000-0000-000000000000</DefinitionID>
<DefaultName>Trigger 1</DefaultName>
<CustomName>Print2</CustomName>
<IsDisplayed>True</IsDisplayed>
<IsNative>False</IsNative>
<TypeName>Trigger</TypeName>
<IsOutsideConnection>False</IsOutsideConnection>
<IOType>Embrio.NodeEngine.NodeIO.TriggerNodeInput</IOType>
<ShowGraph>False</ShowGraph>
<LinkedIOID>00000000-0000-0000-0000-000000000000</LinkedIOID>
<IsUserAdded>True</IsUserAdded>
<ConnectedOutputs></ConnectedOutputs>
</Input>
</Inputs>
<Outputs></Outputs>
</Node>
</Nodes>
</EmbrioCopy>



Thanks a lot in Advance....Lestroso......BigGrin
thanks 1 user thanked fasasoftware@gmail.com for this useful post.
sample@email.tst on 4/7/2024(UTC)
EmbrioAdmin  
#3 Posted : Tuesday, December 29, 2015 1:58:19 PM(UTC)
EmbrioAdmin

Rank: Administration

Groups: Administrators
Joined: 12/11/2014(UTC)
Posts: 661

Thanks: 1 times
Was thanked: 109 time(s) in 104 post(s)
Is the problem that the LCD is showing 0.00 when it should be showing an actual value? Or should the second line not be there at all?

Note that the two trigger events will clear the second line. Also note that it looks like the input change event handling Activation1 writes its data to the beginning of the second line, but Activation2 writes its data starting at the second character of the second line, which will cover some of the first activation.

I don't have an LCD set up right now to test with, but I do remember having trouble refreshing just part of an LCD. You might want to make a function in the deceleration section that totally refreshes the LCD and have your event handlers call that. Something like:

void RefreshLCD(string line1, string line2)
{
lcd.clear();
lcd.SetCursor(0, 0);
lcd.print(line1);
lcd.SetCursor(0, 1);
lcd.print(line2);
}
thanks 1 user thanked EmbrioAdmin for this useful post.
sample@email.tst on 4/7/2024(UTC)
fasasoftware@gmail.com  
#4 Posted : Tuesday, December 29, 2015 3:27:24 PM(UTC)
fasasoftware@gmail.com

Rank: Advanced Member

Groups: BetaUser, Registered
Joined: 12/28/2015(UTC)
Posts: 31

Was thanked: 18 time(s) in 18 post(s)
Dear Embrio Admin,

In the first line, i have tested with toggle button that works fine the Text on the first line....but in the second line , yes, i see the 00.87.....the actual value.....but i need only simple to write what i want on the first and second line of my i2c display on 0x27 address.....

I have tryed your code....but give always errors.....i putted your code in the declaration code...but i have trouble to compile......

Any other ideas????

Thousand Thanks Admin,

Lestroso Blushing

Here below 2 screenshot....

http://www.filedropper.com/embriodispalyi2c1
http://www.filedropper.com/embriodispalyi2c2

thanks 1 user thanked fasasoftware@gmail.com for this useful post.
sample@email.tst on 4/7/2024(UTC)
EmbrioAdmin  
#5 Posted : Tuesday, December 29, 2015 3:50:26 PM(UTC)
EmbrioAdmin

Rank: Administration

Groups: Administrators
Joined: 12/11/2014(UTC)
Posts: 661

Thanks: 1 times
Was thanked: 109 time(s) in 104 post(s)
Oh I see what you mean now. Looks like a bug where the node isn't re-validating correctly. I was able to get around it by cutting the node then pasting it back. Try that out for now, but I'll have a fix uploaded soon.
thanks 1 user thanked EmbrioAdmin for this useful post.
sample@email.tst on 4/7/2024(UTC)
EmbrioAdmin  
#6 Posted : Tuesday, December 29, 2015 3:53:31 PM(UTC)
EmbrioAdmin

Rank: Administration

Groups: Administrators
Joined: 12/11/2014(UTC)
Posts: 661

Thanks: 1 times
Was thanked: 109 time(s) in 104 post(s)
Also it looks like you should delete the Activation inputs and their code blocks if you want to manually set the LCD text with the string inputs and triggers.
thanks 1 user thanked EmbrioAdmin for this useful post.
sample@email.tst on 4/7/2024(UTC)
fasasoftware@gmail.com  
#7 Posted : Wednesday, December 30, 2015 5:18:22 AM(UTC)
fasasoftware@gmail.com

Rank: Advanced Member

Groups: BetaUser, Registered
Joined: 12/28/2015(UTC)
Posts: 31

Was thanked: 18 time(s) in 18 post(s)
Dear Embrio Admin,

I have tryed to make that you told me....but now the compiler give me always errors.....It talk to me that I don't have any arduino wired on my com...or it talk to me that there're delay on my code that slow down the compiler.....but for my tests....there're no delay...but what's the problem??? if i need to put some delay??? if i need for my programs???
I have cut the 2 fields Activation....but nothing works here.....

I have enclosed here other screen shots of my problem....

http://www.filedropper.com/embrio-displayi2c-notworking1

http://www.filedropper.com/embrio-displayi2c-notworking2


Thanks Again,

LestrosoBlushing
thanks 1 user thanked fasasoftware@gmail.com for this useful post.
sample@email.tst on 4/7/2024(UTC)
fasasoftware@gmail.com  
#8 Posted : Wednesday, December 30, 2015 6:57:41 AM(UTC)
fasasoftware@gmail.com

Rank: Advanced Member

Groups: BetaUser, Registered
Joined: 12/28/2015(UTC)
Posts: 31

Was thanked: 18 time(s) in 18 post(s)
Dear Admin,
This sofware below work and don't work...it is not stable..I have Cutted it and pasted Many Time As you told me, before working one time..but now if i push manually trigger button...write my custom message on the first line and now on the second line ...work fine!...
But it don't work with Text Activator.Best regards,
LestrosoBlushing
Quote:

<EmbrioCopy>
<Version>1.3.1.0</Version>
<Nodes>
<Node>
<UniqueID>89835f1e-f47e-4274-a54d-92697d61448d</UniqueID>
<AssemblyType>Embrio.NodeEngine.AgentController.Nodes.AgentControllerCustomArduinoNode</AssemblyType>
<NodeType>Custom Arduino Node</NodeType>
<UserDefinedName></UserDefinedName>
<Description>A node that lets you write any Arduino code to interact with the Arduino hardware. Can be both an input and output.</Description>
<NodeColor>144,183,227,255</NodeColor>
<X>0</X>
<Y>0</Y>
<Width>563</Width>
<IncludeCode>#include &lt;Wire.h&gt;
#include &lt;LiquidCrystal_I2C.h&gt;</IncludeCode>
<DeclerationCode>LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);</DeclerationCode>
<SetupCode>Wire.begin();
lcd.begin(16,2);
delay(250);
lcd.clear();</SetupCode>
<ImageName>arduino.png</ImageName>
<InfoURL></InfoURL>
<CodeDefinitions>
<CodeDefinition>
<TriggerInputID>6dafaf4e-e449-4c8c-bcc2-3cc57740bb02</TriggerInputID>
<UpdateCondition>Trigger</UpdateCondition>
<Code>lcd.setCursor(0,0);
lcd.print(Input_Text1);
</Code>
<UniqueID>f270377c-bde5-4df6-b9d8-4142b1cb4deb</UniqueID>
</CodeDefinition>
<CodeDefinition>
<TriggerInputID>5ab77e29-0910-439c-b2f0-ce658ccaaba2</TriggerInputID>
<UpdateCondition>Trigger</UpdateCondition>
<Code>lcd.setCursor(0,1);
lcd.print(Input_Text2);</Code>
<UniqueID>5260478e-b8a4-46e0-88b3-1a4559e5eda2</UniqueID>
</CodeDefinition>
</CodeDefinitions>
<Inputs>
<Input>
<UniqueID>c8281ff1-d89f-4c13-8ab8-c8e16cf3f9de</UniqueID>
<DefinitionID>00000000-0000-0000-0000-000000000000</DefinitionID>
<DefaultName>Trigger</DefaultName>
<CustomName>Print</CustomName>
<IsDisplayed>True</IsDisplayed>
<IsNative>False</IsNative>
<TypeName>Trigger</TypeName>
<IsOutsideConnection>False</IsOutsideConnection>
<IOType>Embrio.NodeEngine.NodeIO.TriggerNodeInput</IOType>
<ShowGraph>False</ShowGraph>
<LinkedIOID>00000000-0000-0000-0000-000000000000</LinkedIOID>
<IsUserAdded>True</IsUserAdded>
<ConnectedOutputs></ConnectedOutputs>
</Input>
<Input>
<UniqueID>008f8160-9f3e-4ff8-824d-b2d668139a87</UniqueID>
<DefinitionID>00000000-0000-0000-0000-000000000000</DefinitionID>
<DefaultName>Text</DefaultName>
<CustomName>Text1</CustomName>
<IsDisplayed>True</IsDisplayed>
<IsNative>False</IsNative>
<TypeName>String</TypeName>
<IsOutsideConnection>False</IsOutsideConnection>
<IOType>Embrio.NodeEngine.NodeIO.StringNodeInput</IOType>
<ShowGraph>False</ShowGraph>
<LinkedIOID>00000000-0000-0000-0000-000000000000</LinkedIOID>
<IsUserAdded>True</IsUserAdded>
<ConnectedOutputs></ConnectedOutputs>
<DisconnectedValue>Fasasoftware....</DisconnectedValue>
<MaxLength>16</MaxLength>
</Input>
<Input>
<UniqueID>95cdc3db-5cf3-4f1d-82c7-27505e2fadfd</UniqueID>
<DefinitionID>00000000-0000-0000-0000-000000000000</DefinitionID>
<DefaultName>Text 1</DefaultName>
<CustomName>Text2</CustomName>
<IsDisplayed>True</IsDisplayed>
<IsNative>False</IsNative>
<TypeName>String</TypeName>
<IsOutsideConnection>False</IsOutsideConnection>
<IOType>Embrio.NodeEngine.NodeIO.StringNodeInput</IOType>
<ShowGraph>False</ShowGraph>
<LinkedIOID>00000000-0000-0000-0000-000000000000</LinkedIOID>
<IsUserAdded>True</IsUserAdded>
<ConnectedOutputs></ConnectedOutputs>
<DisconnectedValue>The Best !!!!!!!</DisconnectedValue>
<MaxLength>16</MaxLength>
</Input>
<Input>
<UniqueID>64670ac1-a870-40b5-a07d-dd839b01badf</UniqueID>
<DefinitionID>00000000-0000-0000-0000-000000000000</DefinitionID>
<DefaultName>Trigger 1</DefaultName>
<CustomName>Print2</CustomName>
<IsDisplayed>True</IsDisplayed>
<IsNative>False</IsNative>
<TypeName>Trigger</TypeName>
<IsOutsideConnection>False</IsOutsideConnection>
<IOType>Embrio.NodeEngine.NodeIO.TriggerNodeInput</IOType>
<ShowGraph>False</ShowGraph>
<LinkedIOID>00000000-0000-0000-0000-000000000000</LinkedIOID>
<IsUserAdded>True</IsUserAdded>
<ConnectedOutputs></ConnectedOutputs>
</Input>
</Inputs>
<Outputs></Outputs>
</Node>
</Nodes>
</EmbrioCopy>
thanks 1 user thanked fasasoftware@gmail.com for this useful post.
sample@email.tst on 4/7/2024(UTC)
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.

Notification

Icon
Error