SERIAL PORT RECEIVE ATTACH DEMO PROGRAM Simple demo program showing how the serial port \"attach()\" method is used to interrupt when a character has been received into the USART. The main() program sets up the serial port baudrate, attaches the function pointer to the function to be called when a character is received on this serial port, and then loops and flashed some LEDs. Routine \"void SerialRecvInterrupt(void)\" is invoked anytime a character has been received by the by the USART.

Dependencies:   mbed

mbed.bld

Committer:
YouTahDoug
Date:
2011-05-26
Revision:
0:444ff736d35e

File content as of revision 0:444ff736d35e:

http://mbed.org/users/mbed_official/code/mbed/builds/63bcd7ba4912