arduino:arduino_crash_course:serial_communication
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
arduino:arduino_crash_course:serial_communication [2012/11/03 21:20] – mithat | arduino:arduino_crash_course:serial_communication [2012/11/03 21:40] – mithat | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Serial Communication ====== | ====== Serial Communication ====== | ||
- | //Tools > Serial | + | Serial |
+ | |||
+ | Serial communication is often used to make the Arduino report back to the host the value of the program' | ||
===== Switch controlled LED with serial reporting ===== | ===== Switch controlled LED with serial reporting ===== | ||
+ | |||
+ | The following is the [[arduino: | ||
+ | |||
+ | Once you have uploaded the program to the Arduino and it is running, open the serial monitor using the IDE's //Tools > Serial Monitor// menu item. Notice the values that are reported in the Serial Monitor window when you press and unpress the switch. | ||
+ | |||
<file c LightSwitchMonitored.ino> | <file c LightSwitchMonitored.ino> | ||
/* | /* |
arduino/arduino_crash_course/serial_communication.txt · Last modified: 2012/11/12 18:23 by mithat