add indicator for digital input (pe0/pa0)

For discussion of Phil Tobin's Tuner Studio software (Only about the tuning software itself, not about how to tune or firmware features)

Moderator: LT401Vette

Post Reply
red-racing
Helpful MS/Extra'er
Posts: 81
Joined: Fri Jul 31, 2015 4:30 pm

add indicator for digital input (pe0/pa0)

Post by red-racing »

Hi

Im installing MS2 on my gsxr1100, and will use an shadow dash on tablet to display everything.
Is it possible to use a digital input as an indicator? I can not find them under the output channel list.

And is it possible to add an indicator for output status? ex. if the fan is on or off?

\\ Redracing
LT401Vette
Super MS/Extra'er
Posts: 12697
Joined: Sat Jul 16, 2005 8:07 am
Location: Moorseville, NC
Contact:

Re: add indicator for digital input (pe0/pa0)

Post by LT401Vette »

Checking the TunerStudio Lite manual for MS2 Extra in the link above, in the PORT_STATUS section:

it looks like you need bit 1 of portbde for pe0

indicator = { portbde & 1 }, "PORTE0", "PORTE0", white, black, green, black

and bit 1 of portam for pa0
indicator = { portam & 1 }, "PORTA0", "PORTA0", white, black, green, black

If you turn on PORT_STATUS on the settings tab of project properties, these 2 (with many others) will show on your right click menu.
Phil Tobin
EFI Analytics, helping to simplify EFI
Next Generation tuning software.
Supporting all MegaSquirt versions and firmwares.
http://www.TunerStudio.com
http://www.efiAnalytics.com/MegaLogViewer/
Support the firmware running your engine:
http://www.msextra.com/doc/donations.html
Post Reply