Stuck in a print loop and can't unplug because it starts printing as soon as I

Stuck in a print loop and can't unplug because it starts printing as soon as I plug in the USB cable. I have the Esplora and I messed up big time. How can I erase the program or halt so I can reprogram the bad lines of code???????

Can you post your code so we can get an idea what might be causing the problem.

Please read the How to Use the forum before posting the code

...R

I think I used....
serial print in a loop.........

Serial.print("x: "); // print the label for X
Serial.print(xAxis); // print the value for the X axis
Serial.print("\ty: "); // print a tab character, then the label for Y
Serial.print(yAxis); // print the value for the Y axis
Serial.print("\tz: "); // print a tab character, then the label for Z
Serial.println(zAxis); // print the value for the Z axis

How about uploading a new sketch, one without the prints...? Surely that should solve your problem.

Hologramvision:
How can I ... reprogram the bad lines of code???????

Just correct your code and click the upload button as normal. The serial output won't prevent the upload.

I had a stroke and messed up my code. Sorry. I want a way to stop a progam that is telling the Esplora to serial print "XXXXXXXXXXXXX" over the usb. I don't have a SCREEN would that help??????????

I'm sorry, you're not making much sense to us.

You can't "modify" a running program, you can only upload a new program.

If you have lost or messed up your existing source code then that's too bad - you'll have to go back to square one and write your source code again from scratch.

Either that or just don't plug the USB in or open the serial port on the PC, so the serial data gets ignored?

OK I Think That I'm using the USB to write to the serial port, Can i use bluetooth to send the the new code as USB is flooded with my print loop......

I'm trying to get to the code to show here....I'm still learning!!

You upload new code through the USB, just as normal. Just because the Arduino is sending data doesn't stop you uploading a new sketch. I think that has already been said before.

Try it - upload the "Blink" demo sketch. You'll soon see it'll upload, and lo, the serial data will stop as well.

I'll try that again!

I'll try that again! Didn't work it! after reset and before I had time type anything print happen and would let me change anything because it's printing to the MAC over and over..... Can I break the inturpt line?

I'm sorry... type something...?

I think we have crossed wires here. You don't type anything to upload a sketch - you press the upload button. There is no typing (other than of course writing the sketch in the first place) involved in uploading a sketch.

Or are you not trying to upload a sketch? Are you even programming an Arduino?

Yes I'm Press that button and yes I'm using there loading software, The Esplora sends from my old bad program which is sending the printed to whatever program is running...
Sounds like it should overwrite it but I'm not fast enough. Oh well I had fun running all the programs I just forgot a few lines of code... Will learn from it. at $65 Thank You for your patients with me........

Follow these instructions (From the ESPLORA page) precisely step by step. Does it not work?

5 | Programming the board

Double-click the Arduino application. (Note: if the Arduino software loads in the wrong language, you can change it in the preferences dialog. See the environment page for details.)
Open the Esplora Blink example

Open the LED Blink example sketch: File > Examples > Esplora > Beginners > EsploraBlink.

Note: If you do not see the EsploraBlink example, you may need to update the Esplora library. To do this, quit the Arduino IDE and download this .zip file. When you unzip it, you'll have a folder called Esplora. Look in your Documents folder (on OSX or Ubuntu) or My Documents folder (on Windows) for the Arduino sketches folder. It will be called "Arduino" and there should be a folder inside called "libraries". If not, create a libraries folder inside the sketches folder. Move the Esplora folder into the libraries folder. Then re-start the Arduino IDE. Now you should be able to open the EsploraBlink sketch as described above.
Configure Arduino for Esplora

Since the Arduino IDE is used for many different Arduino boards, you need to tell it that you're working with the Esplora. Open the Tools > Board menu and choose Arduino Esplora.
Select the right USB port

The Arduino IDE needs to know which of your USB ports the Esplora is connected to. The Tools > Serial menu lists the available ports:

if only one item is shown, click on that one;
if two or more are shown, you can disconnect the Esplora and re-open the menu; the entry that disappears should be the Esplora board. Reconnect the board and select that serial port.

Upload the program

Now, simply click the "Upload" button in the environment. Wait a few seconds - you should see the RX and TX leds on the board flashing. If the upload is successful, the message "Done uploading." will appear in the status bar of the software.

A few seconds after the upload finishes, you should see the yellow RGB LED on the board start to blink, changing color from red to green to blue to yellow to cyan to magenta to white. If it does, congratulations! You've gotten Esplora up and running.

I'm not giving up, my stroke gets me frustated and a bad spellere......lol Wish they had a reset on the memory, for newbie software guy.

Tried that it just kept right on printing....................I think I'll try reading up on that arm chip

Hologramvision:
Tried that it just kept right on printing

You see the window where the printout is appearing? Close it. It's nothing to do with uploading code to the Arduino.

Also if the upload button was actually used it closes the IDE serial monitor for you.

If you are using an external monitor and do not close it, the IDE should output something like this when attempting an upload:

avrdude: ser_open(): can't open device "\.\COM5": Access is denied.

I'll take a stab and say; you aren't actually uploading anything and your old sketch is happily running away printing all it wants.

Please take a screenshot of what you are actually seeing.