434
edits
Samthetechie (talk | contribs) No edit summary |
Samthetechie (talk | contribs) |
||
| Line 78: | Line 78: | ||
===Listening to Serial Output=== | ===Listening to Serial Output=== | ||
Flash arduino with | Flash arduino with | ||
<pre><nowiki> | |||
void setup() | |||
{ | |||
// start serial port at 9600 bps: | |||
Serial.begin(9600); | |||
} | |||
void loop() | |||
{ | |||
Serial.println("Hello World!"); | |||
delay(1000); | |||
} | |||
</nowiki></pre> | |||
Hello World! using the PMC could be seen in terminal with: | |||
screen /dev/ttyUSB0 9600 | screen /dev/ttyUSB0 9600 | ||
==avrdude== | ==avrdude== | ||