Main Content
readVoltage
Read analog pin voltage on BBC micro:bit board
Description
reads the voltage on the analog input pin on the BBC mico:bit board, specified as a microbit
object.voltage
= readVoltage(microbitObj
,pin
)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2017b