Why in calculation icon reference to pin with$ sign, such as $D1, $D2 etc
Please explain
Thanks
Amrat
Pin reference
-
- Posts: 39
- http://meble-kuchenne.info.pl
- Joined: Sun Jan 31, 2021 11:25 am
- Has thanked: 1 time
-
- Matrix Staff
- Posts: 1472
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 349 times
Re: Pin reference
You can reference the chip ports and pins using code like the following in a calculation icon:
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.
Code: Select all
$PORTA = 5
$PORTB.6 = 1
$PORTA.0 = $PORTB.2
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.