Main Content
configurePin
Configure and display pin modes on BBC micro:bit board
Description
displays the mode of the pin on the BBC micro:bit board, specified as a
pinMode
= configurePin(microbitObj
,pin
)microbit
object .
configurePin(
sets the mode on the specified pin on the BBC micro:bit board, specified as a
microbitObj
,pin
,mode
)microbit
object.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2017b