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.isPresent( side )
peripheral.getType( side )
peripheral.getMethods( side )
peripheral.call( side, methodName, param1, param2, etc )
peripheral.wrap( side )

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.
