Hello,
Is it possible to assign a physical switch entry to a loop using bitwise and any PORTx that hold an switch entry variable ?
I guess that I can do bitwise with let say JS11 and activate Loop1 when JS11 is switched.
The purpose is to use a single switch to put engine in race configuration. This race configuration will depend on user choices, but shall active ALS, Dual Carto and all possible strategies than can be triggered using loop1.
Any toughts ?
Best regards,
Manu
Loop and Race button
Moderators: jsmcortina, muythaibxr
Re: Loop and Race button
I don't see why not. I think you'll need to set at least one of your selections to activate on JS11, to force it to be an input; if for whatever reason it's defined as an output, ground-switching JS11 won't actually accomplish anything. Now you can set LOOP1 as a ProgOut going HIGH on [portmj] AND [128] Hysteresis [128].
Temporarily shut down - back soon!
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
-
- Master MS/Extra'er
- Posts: 723
- Joined: Mon Feb 15, 2010 4:57 am
- Location: Alès - France
- Contact:
Re: Loop and Race button
Hi Don,
Best regards,
Manu
I didn't think about that. i'll give a try soon. there is also a possibility to use an roto-actor hooked up to an analog input and use loops to catch the positon ;-)dontz125 wrote:I think you'll need to set at least one of your selections to activate on JS11, to force it to be an input
Best regards,
Manu
Re: Loop and Race button
... "roto-actor"? Anything like a potentiometer / variable resistor?
If I read you correctly, you're talking about an adjusting knob that will activate more and more functions as moves into the 'RACE' position, correct? That would be neat!
(You might want to use a rotary switch with a bank of resistors, or at least a pot with detents, so it 'clicks' into position.)
If I read you correctly, you're talking about an adjusting knob that will activate more and more functions as moves into the 'RACE' position, correct? That would be neat!
(You might want to use a rotary switch with a bank of resistors, or at least a pot with detents, so it 'clicks' into position.)
Temporarily shut down - back soon!
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
QuadraMAP Sensor Module -- PWM-to-Stepper Controller -- Dual Coil Driver
Coming soon: OctoMAP Sensor Module
TTR Ignition Systems
-
- Master MS/Extra'er
- Posts: 723
- Joined: Mon Feb 15, 2010 4:57 am
- Location: Alès - France
- Contact:
Re: Loop and Race button
You have fully understood