Welcome Guest! To enable all features please Login or Register.
Options
Go to last post Go to first unread
EmbrioAdmin  
#1 Posted : Tuesday, August 11, 2015 6:02:29 PM(UTC)
EmbrioAdmin

Rank: Administration

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

Thanks: 1 times
Was thanked: 33 time(s) in 30 post(s)
For discussion and questions about the Increment documentation page, found at http://www.embrio.io/documentation/node-toolbars/math/math-increment
d.pin@arvalisinstitutduvegetal.fr  
#2 Posted : Friday, April 01, 2016 12:41:46 PM(UTC)
d.pin@arvalisinstitutduvegetal.fr

Rank: Newbie

Groups: BetaUser, Registered
Joined: 3/29/2016(UTC)
Posts: 2

Hello,

I 'm a french beginner, i would like to contrôle in "increment node" the "output_value_max" with an analog input such as a potentiometre

could you advise me

Thanks
d.pin@arvalisinstitutduvegetal.fr  
#3 Posted : Friday, April 01, 2016 1:12:57 PM(UTC)
d.pin@arvalisinstitutduvegetal.fr

Rank: Newbie

Groups: BetaUser, Registered
Joined: 3/29/2016(UTC)
Posts: 2

Hello,
in order to complet my question, i show you the node modification on 'increment'.
I want to add this:
{
int analogPin = 1;
Output_Value_Min = analogRead(transform(analogPin,0.0,1023,0,8000); }
EmbrioAdmin  
#4 Posted : Friday, April 01, 2016 1:29:27 PM(UTC)
EmbrioAdmin

Rank: Administration

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

Thanks: 1 times
Was thanked: 33 time(s) in 30 post(s)
The activation to integer node should do it.

Edit: also use a built in analog in node for the pin reading.

Edited by user Friday, April 01, 2016 1:31:03 PM(UTC)  | Reason: Not specified

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