The peripheral API is for interacting with external peripheral devices. Type "help peripherals" to learn about the peripherals available.

Functions in the peripheral API:
peripheral.getNames()
peripheral.isPresent( name )
peripheral.getType( name )
peripheral.getMethods( name )
peripheral.call( name, methodName, param1, param2, etc )
peripheral.wrap( name )

Events fired by the peripheral API:
"peripheral" when a new peripheral is attached. Argument is the side.
"peripheral_detach" when a peripheral is removed. Argument is the side.
Type "help events" to learn about the event system.
