Package: Arduino
Version:   1:1.0.5+dfsg2-1
Running under: Raspian GNU/Linux jessie/sid raspberri pi
        Last apt-get update/upgrade Sept 26 2013

I'm running 1.0.5/Testing/Jessie because 1.0.1/Stable/Wheezy doesn't have 
header files for the Micro board.

Application: IDE.
Development board: Arduino Micro.
IDE reports in top/main banner: Arduino 1:1.0.5+dfsg2-1
IDE reports in bottom banner, in right corner: Arduino Micro on /dev/ttyACM0.  
And this was selected from the Tools/Serial Port dropdown, intially, but 
currently this dropdown is grayed/non-selectable. 
Tools/Board dropdown reports "Micro" correctly as selected by me. 
Tools/Programmer shows "Arduino as ISP", as selected by me. 

Problems:
-When running the IDE, selecting the "Serial Monitor" control from the third 
banner or from Tools/ Serial Monitor dropdown crashes the IDE.  This happens 
with no code loaded, or a working sketch loaded.

-in "void setup() {"                   the code
        Serial.begin(9600);
        while (!Serial) {
         ;   // Wait for serial port to connect.
        }
causes the Sketch to not run.   Removing this code allows problem-free 
uploading of Sketches.  "while (!Serial)"  is supposed to apply to both the 
Leonardo and Micro boards since they both use the same processor to handle 
communications.  This is listed in the Arduino Reference material that comes 
with this IDE.  The purpose of this code is to establish communication with the 
board during uploading (all of the other boards have a separate processor for 
this communication and the setup for the upload is different for them.)  I 
initially had trouble, or a beginner's confusion, with my first attempts at 
uploading, and tried using the Reset button on the Micro board as suggested in 
the documentation as well as the "while (!Serial) code, but finally it started 
working - perhaps I just managed to get all the bits in order after several 
trials.  But there still remains the issue with the while (!Serial) behaviour


I can develop Sketches in the IDE, Upload them to the Micro board, and they do 
work.  Since I'm just starting out, I am not trying anything sophisticated or 
complex.

Note: While I've been developing information systems for large business clients 
in a variety of platforms, OSs and Languages, this is my first serious work 
with Unix (and I think it's WONDERFUL!).




John K
Cincinnati, Ohio USA

---
This mail was sent with the Java email client Columba. Read more at 
http://columbamail.org


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to