Results 1 to 2 of 2
  1. #1
    Our new friend needs to reach 10 posts to get to the next flight level
    Join Date
    Jul 2009
    Location
    Germany
    Posts
    5
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Switch on Mastercard

    Hi there all

    i would install my switch on my Mastercard but i get only a loop.
    I dont push my switch and i get a signal from my mastercard

    Where is my mistake?


    My Code
    Code:
    Var 1 Link IOCARD_SW Input 1 Type I
     {
       IF v1 = 1
       {
         &Key = 37
       }
       ELSE
       {
         &Key = 0
       }
     }
    
     Var 2 name Key Link KEYS
    Sioc.ini
    Code:
    #37=B
    ...

    Kind regards

  2. #2
    25+ Posting Member
    Join Date
    Nov 2008
    Location
    USA
    Posts
    25
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Switch on Mastercard

    What kind of switch are you using. It says type 1 in your SIOC code, which is SPDT (Single-Pole-Double-Throw) but you speak of "Pushing your switch," so is it a switch, or a momentary pushbutton?

    *Edit: "Push My Switch"
    Elliot

Similar Threads

  1. Rotary Switch(binary encoding) direct to Mastercard?
    By aVaTar in forum OpenCockpits General Discussion
    Replies: 0
    Last Post: 11-02-2010, 09:33 PM
  2. MasterCard/USBExpansion detection
    By Boeing 747 Flyer in forum OpenCockpits General Discussion
    Replies: 17
    Last Post: 08-30-2010, 10:29 AM
  3. Connecting Mastercard to USB Expansion
    By colt45 in forum OpenCockpits General Discussion
    Replies: 3
    Last Post: 08-10-2010, 05:57 PM
  4. OC MasterCard Help.
    By AlexJ in forum General Builder Questions All Aircraft Types
    Replies: 15
    Last Post: 04-05-2010, 10:45 AM
  5. Mastercard OC
    By 150245 in forum OpenCockpits General Discussion
    Replies: 4
    Last Post: 03-09-2010, 02:02 PM