# Hardware Access Functions

These functions allow you to directly control aspects of the Smart Multibox hardware

##### multibox\_blink\_led()

Turns the LED off for a short period of time (~20msec), then returns it to its previous color. This routine is regulated so that blinks are only allowed to happen once every 40msec. This prevents the LED from being off all the time when this routine is called frequently.

##### multibox\_set\_led(color)

Sets the LED to a specific color. Possible color values are LED\_OFF, LED\_GREEN, LED\_ORANGE and LED\_RED.

##### multibox\_set\_trs\_mode(mode)

Sets the operating mode of the TRS port. Valid values are TRS\_EXPPEDAL (enable expression pedal mode) and TRS\_EXTSWITCH (enable external switch mode). The default at power on is TRS\_EXPPEDAL mode.