Search found 5 matches

Return

by Benj
Wed Mar 22, 2017 5:37 pm
Jump to forum
Jump to topic

Re: switch led etc.. for siMulation only

Hello,

In the component search type in LED, in the list of results you should find the item "Simulation LED" which is essentially an LED without a pin connection.
by Benj
Tue Mar 21, 2017 5:53 pm
Jump to forum
Jump to topic

Re: inherited auto maping pin from RS232

Hello, We have recently massively simplified this in v7 and you can right click a property and bring it through to be exposed in the component. In v6 you have to do things the hard way which is manually copying the values back and forth. Look at the CAL UART example here and hopefully that should he...
by Benj
Tue Mar 28, 2017 5:12 pm
Jump to forum
Jump to topic

Re: siMulation PWM Motor

Hello Camille,

You were nearly there.

I think the component detects a pin change and then assigns the motor speed. So by adding a few motor stops and starts to the loop this forces the pin change to fire which then correctly switches the speed.

pwMMotor.fcfx
by Benj
Tue Mar 28, 2017 3:02 pm
Jump to forum
Jump to topic

Re: how to access public variable of coMponent

Hello,

Something like this should work. e.g. double colon.

Code: Select all

MyCoMponent::MyVar = 1