I want to create a sketch for 2 LEDs. The first LED in the first tab and the second in the second tab. I need an example please.


For more details, I want to make the LVIFA_Base for Labview and Dan Thompson's code into one multi-file sketch to run Labview and Autodesk Maya together.

  • 2
    I was going to edit this question to be more comprehendible but it's too much of a wreck. Please re-think your wording so that it makes sense without having to read it three times. Also, please at least provide links to the LabView code and the Maya code, and show that you've at least thought about how to combine the two. – CharlieHanson Jun 30 '15 at 1:47
  • 1
    It is really unclear what you are asking here. This doesn't seem like a question, but more like "please write code for me". A sketch is one program, so are you asking "how to do multiple things in a program"? – Nick Gammon Jun 30 '15 at 5:12
  • (drive.google.com/open?id=0B5a_K1-qlxnXdFVfWE9DVkJGTEU ) and this (drive.google.com/open?id=0B5a_K1-qlxnXdFVfWE9DVkJGTEU ) I want to make this sketches in one sketch for more detail this is the full project (drive.google.com/…) thank's Nick Gammon and @chaaarlie2 . – 0000 Jun 30 '15 at 21:48

If I understand your question, you want to have 2 sketches open in the Arduino IDE, one in each tab. If that is you question, you can not do this.

  • yes a program for two LED , i want programing one led in the first tab and the second in the second tab using the library method (#include) – 0000 Jul 1 '15 at 19:50

Not the answer you're looking for? Browse other questions tagged or ask your own question.