This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

showPins

View an image of BBC micro:bit showing all the pins on the edge connector

Syntax

showPins(microbitObj)

Description

example

showPins(microbitObj) displays an image of BBC micro:bit, specified as a microbit object, showing all the 25 pins on the edge connector.

Examples

collapse all

Autodetect and connect to a BBC micro:bit board.

microbitObj = microbit
microbitObj = 
  microbit with properties:

                  Port: "COM4"
  AvailableDigitalPins: ["P0-P16"]
      AvailablePWMPins: ["P0-P10", "P12-P16"]
   AvailableAnalogPins: ["P0-P4", "P10"] 
    AvailableI2CBusIDs: 1
    AvailableSPIBusIDs: 1
Show all properties, functions, latest values

View the image of BBC micro:bit showing all the pins on the edge connector.

showPins(microbitObj)

Input Arguments

collapse all

BBC micro:bit hardware connection, specified as a microbit object created with the microbit function.

See Also

|

Introduced in R2017b