Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Don't be too emphatic! (Read 4333 times)
Martin Bradford
Newbies
*
Offline


Posts: 2
Joined: Dec 24th, 2012
Don't be too emphatic!
Dec 24th, 2012 at 10:47pm
Print Post  
I've just spent a couple of very frustrating hours - learn my lesson!

I just picked up an Arduino MEGA 2560 which I intend to use to automate some systems on our boat. I plugged it up to my PC and started experimenting with some simple code - just to learn the development environment. My code fragment started with a "println" for "Hello World" and then exercised various functions. It worked fine.

I then added some extra code and ran it - my new code didn't seem to do anything, so I added an exclaimation mark to "Hello World!" just to prove that I was running the new code. 

A bit later, I added another exclaimation mark in order to distinguish the code from the previous version. All still working fine. Then, for no obvious reason, folowing some more changes, it suddenly started to refuse to upload into the board... It took me a long time reading the source code of the development environment before I realised that the escape sequence that toggles between the bootloader and the terminal emulator mode is - wait for it - "!!!"... 

Try it - include three exclaimation marks in a string in the source code and just watch the bootloader crash!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Don't be too emphatic!
Reply #1 - Dec 24th, 2012 at 11:09pm
Print Post  
Hi,

I think the place to post this is on the arduino.cc/forum. I never knew this about arduino and I am sure many others don't know about it.

It's a good find, I just tried it in arduino 1.0.x and found it impossible to get a successful upload when a Serial.println("!!!") is in the code. 

What do you mean by emphatic? Visual Micro is unconnected to Arduino. It is a free service to help people who have chosen to use Arduino or Arduino compatible hardware.

Thanks
« Last Edit: Dec 24th, 2012 at 11:11pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Marius
Developer
****
Offline


Posts: 204
Location: Centurion RSA
Joined: Sep 7th, 2011
Re: Don't be too emphatic!
Reply #2 - Dec 25th, 2012 at 6:13am
Print Post  
em�phat�ic   
/emˈfatik/
Adjective
Showing or giving emphasis; expressing something forcibly and clearly.
(of an action or event or its result) Definite and clear.

Maybe it was a wrong choice of word??
  
Back to top
IP Logged
 
jgmdavies
Junior Member
**
Offline


Posts: 14
Location: UK
Joined: Nov 30th, 2012
Re: Don't be too emphatic!
Reply #3 - Dec 26th, 2012 at 7:34pm
Print Post  
@Tim

I think he just meant emphatic as in using shrieks (!)...

All the seasonal best,
Jim
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Don't be too emphatic!
Reply #4 - Dec 26th, 2012 at 7:36pm
Print Post  
Okay it's been a long year  Cheesy

Martin that is very funny, sorry I was slow off the mark

Smiley
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint