clear

Terminate connection to BeagleBone Black hardware

Syntax

Description

example

clear bbb closes the connection to the BeagleBone Black hardware. You must call this function before you create another connection to the hardware.

Examples

collapse all

Open a connection to BeagleBone Black hardware, show the available pins, close the connection.

bbb = beaglebone
bbb = 

  beaglebone with properties:

           DeviceAddress: '192.168.7.2'
               BoardName: 'BeagleBone Black Rev 00C0'
           AvailableLEDs: {'USR0'  'USR1'  'USR2'  'USR3'}
    AvailableDigitalPins: {1x29 cell}
     AvailableAnalogPins: {'AIN0'  'AIN1'  'AIN2'  'AIN3'  'AIN4'  'AIN5'  'AIN6'}
        AvailablePWMPins: {}
    AvailableSPIChannels: {}
       AvailableI2CBuses: {'i2c-1'}
    AvailableSerialPorts: {}
        AvailableWebcams: {} 
showPins(bbb)

clear bbb

Input Arguments

collapse all

BeagleBone Black connection created using beaglebone, specified as an object.

Introduced in R2015a