4 years, 6 months ago.

Where can I find API documentation for the Serial class?

I want to (among other things) use the Serial Class to transmit data out of an LPC1768's UART port. I don't know what available functions are available.

I googled and checked: https://developer.mbed.org/handbook/Serial

No documentation anywhere. It was just there a week or two ago!

2 Answers

4 years, 6 months ago.

Try your google search again but once you see the match (first one on the google result) -> select the down arrow button on the right side of the URL -> cached copy to view the version of the webpage with the API you saw a week or two go.

Better grab it fast before Google refreshes their own cache :) (till the webpage is corrected).

Great suggestion! I'll have to remember to check the good old cache.

posted by Minh Tran 15 Jan 2016
4 years, 6 months ago.

Another route is to look at the code here: https://developer.mbed.org/users/mbed_official/code/mbed-src/

Pull it in to Eclipse or your favorite code editor and you can hunt down the Serial class from there.

One note, that source location is now obsolete. For some reason they have moved the live copy of the source to https://developer.mbed.org/users/mbed_official/code/mbed-dev/

Not that it'll make any difference for the serial API, that'll be the same in both.

posted by Andy A 15 Jan 2016