View Single Post
Old July 3rd, 2008, 15:43   #44
DonP
 
DonP's Avatar
 
Join Date: Jul 2002
Location: Edmonton, AB
Quote:
Originally Posted by Kos-Mos View Post
I just downloaded and opened the Triggermaster .c file.

It can be done, but you would need a A/D converter to be used before the chip, since the microprocessor they have used is digital only.
I don't know if we're talking about the same thing, but the Trigger Master has two unused analog inputs (AUX0, AUX1) that use the built-in ADC.

The GetVoltage() function is used to read the voltage present on either of those pins. You can then do different things based on what voltage is present.

For example for my Virtual 30 Round Mags mod, I just used it as a switch (reads either 0V or 5V depending on switch state) but it could just as easily -- for example -- do "X" if you read 0V, do "Y" if you read 2.5V, and "Z" if you read 5V, or whatever. Or any range in between.
DonP is offline   Reply With Quote