Page 1 of 1
Pin reference
Posted: Thu Jan 05, 2023 12:32 pm
by Amrat
Why in calculation icon reference to pin with$ sign, such as $D1, $D2 etc
Please explain
Thanks
Amrat
Re: Pin reference
Posted: Thu Jan 05, 2023 12:44 pm
by Steve-Matrix
You can reference the chip ports and pins using code like the following in a calculation icon:
Code: Select all
$PORTA = 5
$PORTB.6 = 1
$PORTA.0 = $PORTB.2
You can also use these referenced in decision and loop icons.
In Flowcode v10 you will also be able to use chip references like "$B4" and "$C.2", and with chips like the Arduino where there are alternative pin names like "$pin3" you will be able to use those also.
Re: Pin reference
Posted: Thu Jan 05, 2023 2:39 pm
by Amrat
Big Thanks