Announcement

Collapse
No announcement yet.

Using GPS Gamma (and indicator)

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using GPS Gamma (and indicator)

    Sometimes, especially after my car has been sitting for a few days, the USB GPS receiver doesn't get a signal look very quickly, so the GPS-controlled gamma doesn't kick in, and if this occurs at night, I am left with a very bright screen. I am adding a button ("GAMMA") to toggle between Day/Night/GPS. The button works great, but I also want an indicator so I can see the status of the gamma. I added an indicator for "GPSGAMMA" which is supposed to indicate the current state, but nothing shows up.
    Any ideas as I couldn't find much documentation on it?

  • #2
    it will be true of false based on a few things

    due to use of literal numbers, vs constants i cant tell you what it means...

    If GammaMode = 2 Then
    GetIndicator = (GammaModeState = 2)
    ElseIf GammaMode = 3 Then
    GetIndicator = (GammaModeState = 2 And GPS.Valid)
    Else
    GetIndicator = False
    End If
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

    Comment


    • #3
      So there is no way for me to tell the status of which button toggle I have selected? I found out how I can use the indicator to display ON or OFF, but I'd rather interested in knowing which state I put it in. More like a On, Off, or Auto. That's the Control Engineer inside me trying to squeeze more functionality out of this.

      Comment


      • #4
        i dont want to say no... but 99% of the gamma/gps gamma wasnt programmed by me or guino... so im not 100% sure what you can or cant do...
        that little snip i showed you for that indicator, is not good programming skills there alone....

        prob should remove it all, and make it a plugin
        (NOT)

        maybe do something with the user vars... im not sure... not eactly sure what you want to do too
        -Thanks
        Mitch
        www.rush2112.net

        "Did you test it in carwings??"

        Sun, Come shine my way
        May healing waters bury all my pain
        Wind, Carry me home
        The fabric of reality is tearing apart
        The piece of me that died
        Will return To live again

        Comment


        • #5
          I like the 3-state button functionality...its perfect. But maybe you guys could add an indicator for the status of the gamma...whether it is DAY (manual), NIGHT (manual), DAY (gps controlled), or NIGHT (gps controlled).

          Comment


          • #6
            sure... but the gamma code is a bit sloppy, and prob should be rewritten...
            ill make a mental note...
            -Thanks
            Mitch
            www.rush2112.net

            "Did you test it in carwings??"

            Sun, Come shine my way
            May healing waters bury all my pain
            Wind, Carry me home
            The fabric of reality is tearing apart
            The piece of me that died
            Will return To live again

            Comment


            • #7
              lol...if I could I would...but I'm helpless in this case.
              Thanks Mitch.

              Comment

              Working...
              X