Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
3 years, 10 months ago.
How to use read command?
Hello dear developers, i need your help.
I have to send a signal from labview, receive the signal with LPC1768, show the signal at oscilloscope using the Analog Out (p18), my problem is to receive the data, i need learn how to use read command.
int read (uint16_t *buffer, int length, const event_callback_t &callback, int event=SERIAL_EVENT_RX_COMPLETE, unsigned char char_match=SERIAL_RESERVED_CHAR_MATCH)
Begin asynchronous reading using 16bit buffer.
Give me a example with this command, please.