Homepage

This content relates to a deprecated version of Mbed

Mbed 2 is now deprecated. For the latest version please see the Mbed OS documentation.

For a great overview of the platform, see:

For more detailed introductions for specific aspects of the mbed platform, see:

For the widely available hardware platforms, see:

For older (and potentially outdated) documentation, see:



Mbed 2 releases

mbed and mbed-dev are currently released every two months.

Getting Started



Using mbed libraries

The mbed library provides the C/C++ software platform and libraries to build your applications. Note: Not all platforms have the resource required to implement these APIs or have them implemented.

Analog I/O

  • AnalogIn - Read the voltage applied to an analog input pin
  • AnalogOut - Set the voltage of an analog output pin

Digital I/O

  • DigitalIn - Configure and control a digital input pin.
  • DigitalOut - Configure and control a digital output pin.
  • DigitalInOut - Bi-directional digital pins
  • BusIn - Flexible way to read multiple DigitalIn pins as one value
  • BusOut - Flexible way to write multiple DigitalOut pins as one value
  • BusInOut - Flexible way to read/write multiple DigitalInOut pins as one value
  • PortIn - Fast way to read multiple DigitalIn pins as one value
  • PortOut - Fast way to write multiple DigitalOut pins as one value
  • PortInOut - Fast way to read/write multiple DigitalInOut pins as one value
  • PwmOut - Pulse-width modulated output
  • InterruptIn - Trigger an event when a digital input pin changes.

Timers

  • Timer - Create, start, stop and read a timer
  • Timeout - Call a function after a specified delay
  • Ticker - Repeatedly call a function
  • wait - Wait for a specified time
  • time - Get and set the realtime clock

Digital Interfaces

  • CAN - Controller-area network bus

Real-time Operating System

File System

  • LocalFileSystem - Using the mbed disk as storage from within a program
  • SDFileSystem - Using the mbed disk as storage from within a program

USB

  • USBDevice - Using mbed as a USB Device
    • USBMouse - Emulate a USB Mouse with absolute or relative positioning
    • USBKeyboard - Emulate a USB Keyboard, sending normal and media control keys
    • USBMouseKeyboard - Emulate a USB Keyboard and a USB mouse with absolute or relative positioning
    • USBHID - Communicate over a raw USBHID interface, great for driverless communication with a custom PC program
    • USBMIDI - Send and receive MIDI messages to control and be controlled by PC music sequencers etc
    • USBSerial - Create a virtual serial port over the USB port. Great to easily communicate with a computer.
    • USBAudio - Create a USBAudio device able to receive audio stream from a computer over USB.
    • USBMSD - Generic class which implements the Mass Storage Device protocol in order to access all kinds of block storage chips

Networking



Contributing to mbed

You can also contribute to the mbed SDK and HDK.



mbed Enabled

You can also create mbed Enabled devices!


All wikipages