Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Commands:
#
All the numeric constants MUST be in Hexadecimal #
- C[level] - Change the [level] of the CS line (p8)
- D[data] - Send single byte of [data]
- M[data],[data], .. ,[data] - Send multiple bytes of [data]
- F[data],[size] - Send a flow sized [size] of [data] bytes
- R[size] - Receive [size] bytes
Examples
- C0 - Put the CS at logic level 0
- C1 - Put the CS at logic level 1
- Dab - Send out the byte 0xab
- M55,aa,01,ab,cd - Send out the bytes 0x55, 0xaa, 0x01, 0xab, 0xcd
- Fff,05 - Send out 5 bytes of value 0xff
- R10 - Receive 16 bytes