Tutorial.SerialEvent History

Hide minor edits - Show changes to output

May 02, 2012, at 04:08 PM by Scott Fitzgerald -
Changed lines 22-24 from:
(:source http://arduino.cc/en/pub/code/master/build/shared/examples/4.Communication/SerialEvent/SerialEvent.ino lang=arduino tabwidth=4:)

to:
(:source http://arduino.cc/en/pub/code/master/build/shared/examples/04.Communication/SerialEvent/SerialEvent.ino lang=arduino tabwidth=4:)

December 01, 2011, at 04:17 PM by Scott Fitzgerald -
Changed lines 29-30 from:
* [[Tutorial/SerialCallResponseASCII | Serial Call and Response ASCII]] - sending multiple vairables using a call-and-response (handshaking) method, and ASCII-encoding the values before sending.
to:
December 01, 2011, at 04:16 PM by Scott Fitzgerald - Page creation
Added lines 1-31:
''Examples > Communication''

!!!SerialEvent

Demonstrates use of the SerialEvent() function. SerialEvent() is called after a loop(), if there is serial data in the buffer.

!!!Hardware Required
* Arduino Board

!!! Circuit

%height=250px%[[Attach:Arduino_bb.png | Attach:Arduino_bb.png]]

[-image developed using [[http://www.fritzing.org |Fritzing]]. For more circuit examples, see the [[http://fritzing.org/projects/|Fritzing project page]] -]




None, but the Arduino has to be connected to the computer.

!!! Code
(:source http://arduino.cc/en/pub/code/master/build/shared/examples/4.Communication/SerialEvent/SerialEvent.ino lang=arduino tabwidth=4:)


!!!See Also:

* [[Reference/SerialEvent]]()

* [[Tutorial/SerialCallResponseASCII | Serial Call and Response ASCII]] - sending multiple vairables using a call-and-response (handshaking) method, and ASCII-encoding the values before sending.

Share