eried / Arduino

open-source electronics prototyping platform - enhanced release for Windows
http://arduino.cc/forum/index.php/topic,118440.0.html
Other
10 stars 2 forks source link

Switch serial port detecting Serial.begin(<bauds>); #4

Closed eried closed 10 years ago

Sembazuru commented 11 years ago

After some time using ERW with auto Serial Monitor turned on, I would suggest an if type behavior: If "Serial.begin()" exists uncommented, then open Serial Monitor set to .

I'm not sure where to (or can) do this search; whether to scan the base .ino file or the resulting .cpp file after the preprocessing step happens.

eried commented 11 years ago

If "Serial.begin()" exists uncommented, then open Serial Monitor set to <?>... set to what? I don't quite understand your request

Sembazuru commented 11 years ago

Crap. My fault for not previewing my post before committing it. Both inside the parentheses and right before the period I had the word "baud" surrounded by angle bracket pairs. I guess it was interpreted as an unsupported tag and ignored... Let me try again with different brackets... :/

If "Serial.begin([baud])" exists uncommented, then open Serial Monitor set to [baud].