Welcome Guest! To enable all features please Login or Register.
Options
Go to last post Go to first unread
flop  
#1 Posted : Wednesday, November 07, 2018 2:09:08 AM(UTC)
flop

Rank: Newbie

Groups: Registered
Joined: 2/1/2017(UTC)
Posts: 1
Belgium
Location: Kortenaken

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Output_ text = Input_Integer ;

gives me errors (i'm not familiar with C++)

I want to use the results from integer calculations to edit in a display...
thanks 1 user thanked flop for this useful post.
sample@email.tst on 4/25/2023(UTC)
EmbrioAdmin  
#2 Posted : Sunday, November 11, 2018 2:42:58 PM(UTC)
EmbrioAdmin

Rank: Administration

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

Thanks: 1 times
Was thanked: 40 time(s) in 36 post(s)
We followed up on this one in e-mail, for others here are the results.

For now if you need to convert a non string input to a string output, you'll have to implement the code in both C# and Arduino. To do this, on your node click on the double red arrow icon, which will show a tab for C# and Arduino code.

In the c# code you can use the ToString method like:

Output_String = Input_Integer.ToString();

For Arduino you have to cast to a string like this:

Output_String = (String)Input_Integer;

I've added doing this automatically to my todo list so you can use .ToString and it'll change it for the Arduino code.

If you need to convert a number to a string I would make a node that does just that, and feed the converted string value into your custom node so you don't have to implement the whole custom node in both languages.
thanks 2 users thanked EmbrioAdmin for this useful post.
flop on 11/14/2018(UTC), sample@email.tst on 4/25/2023(UTC)
sample@email.tst  
#3 Posted : Tuesday, April 25, 2023 12:29:08 AM(UTC)
sample@email.tst

Rank: Advanced Member

Groups: Registered
Joined: 4/24/2023(UTC)
Posts: 110

Thanks: 14 times
1OhMyGod OhMyGod RollEyes RollEyes Sad Sad Scared Scared Sleep Sleep Smile Smile Sneaky Sneaky ThumbDown ThumbDown ThumpUp ThumpUp Tongue Tongue Razz Razz Unsure Unsure Woot Woot Wink Wink Wub Wub [YOUTUBE]Angry Angry BigGrin BigGrin Blink Blink Blushing Blushing Bored Bored Confused Confused Cool Cool Crying Crying Cursing Cursing Drool Drool Flapper Flapper Glare Glare Huh Huh Laugh Laugh LOL LOL Love Love Mad Mad Mellow Mellow OhMyGod OhMyGod RollEyes RollEyes Sad Sad Scared Scared Sleep Sleep Smile Smile Sneaky Sneaky ThumbDown ThumbDown ThumpUp ThumpUp Tongue Tongue Razz Razz Unsure Unsure Woot Woot Wink Wink Wub Wub
Quote:
[img]http://[/img]http://
    1. [VIMEO][HIDE-THANKS]

      This board requires you to be registered and logged-in before you can view hidden messages.

      [/HIDE-THANKS][/VIMEO]
[/YOUTUBE]
sample@email.tst  
#4 Posted : Tuesday, April 25, 2023 2:48:04 AM(UTC)
sample@email.tst

Rank: Advanced Member

Groups: Registered
Joined: 4/24/2023(UTC)
Posts: 110

Thanks: 14 times
555
sample@email.tst  
#5 Posted : Tuesday, April 25, 2023 2:48:34 AM(UTC)
sample@email.tst

Rank: Advanced Member

Groups: Registered
Joined: 4/24/2023(UTC)
Posts: 110

Thanks: 14 times
555
sample@email.tst  
#6 Posted : Tuesday, April 25, 2023 3:10:28 AM(UTC)
sample@email.tst

Rank: Advanced Member

Groups: Registered
Joined: 4/24/2023(UTC)
Posts: 110

Thanks: 14 times
555
sample@email.tst  
#7 Posted : Tuesday, April 25, 2023 3:11:02 AM(UTC)
sample@email.tst

Rank: Advanced Member

Groups: Registered
Joined: 4/24/2023(UTC)
Posts: 110

Thanks: 14 times
555
sample@email.tst  
#8 Posted : Tuesday, April 25, 2023 3:11:40 AM(UTC)
sample@email.tst

Rank: Advanced Member

Groups: Registered
Joined: 4/24/2023(UTC)
Posts: 110

Thanks: 14 times
555
sample@email.tst  
#9 Posted : Tuesday, April 25, 2023 3:12:20 AM(UTC)
sample@email.tst

Rank: Advanced Member

Groups: Registered
Joined: 4/24/2023(UTC)
Posts: 110

Thanks: 14 times
555
sample@email.tst  
#10 Posted : Tuesday, April 25, 2023 3:12:57 AM(UTC)
sample@email.tst

Rank: Advanced Member

Groups: Registered
Joined: 4/24/2023(UTC)
Posts: 110

Thanks: 14 times
555
sample@email.tst  
#11 Posted : Tuesday, April 25, 2023 3:13:33 AM(UTC)
sample@email.tst

Rank: Advanced Member

Groups: Registered
Joined: 4/24/2023(UTC)
Posts: 110

Thanks: 14 times
555
sample@email.tst  
#12 Posted : Tuesday, April 25, 2023 3:14:09 AM(UTC)
sample@email.tst

Rank: Advanced Member

Groups: Registered
Joined: 4/24/2023(UTC)
Posts: 110

Thanks: 14 times
555
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