Hi all - I have a Multiwii & MegaPirateNG board loaded on my Win 7 box w/ Arduino 1.0.3. I want to also run a Arduino Uno on the same Win 7 box. Can I download Arduino 1.0.5 and run just my Uno on that? I won't be using at the same time. Also, my Win 7 is Enterprise Edition and 64 bit. Thanks.
Is this listed in FAQ or something? Why ignored?
If all the programs will run and each can recognize a different COM port, you should be all set.
I've never tried more than 2 boards at one time myself.
CrossRoads:
If all the programs will run and each can recognize a different COM port, you should be all set.
I've never tried more than 2 boards at one time myself.
Hi Crossroads; thanks for replying. I plan on only running one board at a time on my computer. Like right now I'm using the Uno to learn the basics of these boards. However I would like to hook up my Multiwii & MegaPirateNG board and see what's running on it before I hook it up to my quadcopter. Which brings up another question: How do I "see" what's currently loaded on my board? And the reason for my original question is that to operate the Multiwii & MegaPirateNG board on my computer I have to change libraries in the folders of the Arduino software. So if the basic Uno takes certain libraries and the MPNG takes others how do you work on the different boards on the same computer?
I hope that clarifies a little more what I'm asking. Thanks
Which brings up another question: How do I "see" what's currently loaded on my board?
There is no way with the current IDE and arduino bootloader to 'see' what sketch, if any, is currently loaded and running on the AVR chip. There are command line tools to allow reading back the machine language instructions presently loaded in the AVR chip but you most likely won't be able to do much with it.
I often add serial write commands in the setup function to tell an attached PC what sketch name/version/etc that is about to start running. Sometimes I even add a 'hit any key to proceed' function in the setup function to allow me to have the sketch start or not depending on how I respond to that function from the PC.
Thanks for answering my question. Would you possibly have the code to do that so I can add it when I go to upload new software? The code you add to the setup function with name/version/etc. and for the "hit any key to proceed" function. Thank you.
Jacknet:
Thanks for answering my question. Would you possibly have the code to do that so I can add it when I go to upload new software? The code you add to the setup function with name/version/etc. and for the "hit any key to proceed" function. Thank you.
Sure, here is the bare format:
void setup()
{
Serial.begin(115200);
Serial.println("MySketch demo"); //name of program
Serial.println("Version: 2.2 "); //
Serial.println("Hit any key to start");
while(!Serial.available) {} // wait for user it hit a key before starting rest of sketch
}
void loop()
{
//rest of sketch
}
Wow LR, good stuff. I'll try on my next upload. I am new so you get another question pertaining to this.
You have the rest of my sketch in a loop. Wouldn't I just load a sketch with the var. setups, etc and run the sketch like it is written to run skipping the void setup () function? Unless my sketch has some setup code that needs to be in there in addition to the "Hit any key" code?
Jacknet:
Wow LR, good stuff. I'll try on my next upload. I am new so you get another question pertaining to this.
You have the rest of my sketch in a loop. Wouldn't I just load a sketch with the var. setups, etc and run the sketch like it is written to run skipping the void setup () function? Unless my sketch has some setup code that needs to be in there in addition to the "Hit any key" code?
This 'basic framing" example is just what you then merge your other needs for the sketch. Global variables, any used libraries, etc get added before the setup function. Then you proceed to fill in any other needs into your setup() function and finally you build out your loop() statement. You have to build it all into one sketch that is then uploaded.