Hi All,
First I'd like to say that I'm entirely new to programming yet really hope - & look forward to - learn programming with the Arduino as a focus point. To that end I really appreciate that this forum and the Arduino community exists - many thanks
To start out I recently bought an Arduino Leonardo (original), yet am having some issues with a couple of very simple program sequences found in the book "Beginning C for Arduino, Second Edition" - link here:
These program sequences are:
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("This is my first Arduino program!");
}
void loop() {
// put your main code here, to run repeatedly:
}
When running this small program (and a similar one which also uses the serial.println function) nothing shows up in the serial monitor. I have adjusted the baud rate to 115200 also on the serial monitor.
However, if I place the serial.println command in the void loop instead it writes "This is my first Arduino program" indefinitely. Which I think it should (right?).
So, I wonder if there's something with the Leonardo that is less compatible with the serial.println function?
Also, if this may be the case ... Is there any concensus at to which of the Arduino boards are considered the LEAST problematic one to use for "learning"? Being a complete newbie I prefer that the hardware/software interface just works flawlessly so that until I get more into the actual programming - and may learn about possible workarounds - I don't have to give such issues attention.
Thanks for any help you may be able to give
Jesper