dist/webduino-all.js
function RGBLed(board, redLedPin, greenLedPin, blueLedPin, driveMode) {
    Module.call(this);

    if (driveMode === undefined) {
      driveMode = RGBLed.COMMON_ANODE;
    }

    this._board = board;
    this._redLed = new Led(board, redLedPin, driveMode);
    this._greenLed = new Led(board, greenLedPin, driveMode);
    this._blueLed = new Led(board, blueLedPin, driveMode);

    this.setColor(0, 0, 0);
  }
function RGBLed(board, redLedPin, greenLedPin, blueLedPin, driveMode) {
    Module.call(this);

    if (driveMode === undefined) {
      driveMode = RGBLed.COMMON_ANODE;
    }

    this._board = board;
    this._redLed = new Led(board, redLedPin, driveMode);
    this._greenLed = new Led(board, greenLedPin, driveMode);
    this._blueLed = new Led(board, blueLedPin, driveMode);

    this.setColor(0, 0, 0);
  }
function RGBLed ( board , redLedPin , greenLedPin , blueLedPin , driveMode ) { Module . call ( this ) ; if ( driveMode === undefined ) { driveMode = RGBLed . COMMON_ANODE ; } this . _board = board ; this . _redLed = new Led ( board , redLedPin , driveMode ) ; this . _greenLed = new Led ( board , greenLedPin , driveMode ) ; this . _blueLed = new Led ( board , blueLedPin , driveMode ) ; this . setColor ( 0 , 0 , 0 ) ; }
The RGBLed Class.

@namespace webduino.module
@class RGBLed
@constructor
@param {webduino.Board} board The board the RGB LED is attached to.
@param {webduino.Pin} redLedPin The pin the red LED is connected to.
@param {webduino.Pin} greenLedPin The pin the green LED is connected to.
@param {webduino.Pin} blueLedPin The pin the blue LED is connected to.
@param {Number} [driveMode] Drive mode the RGB LED is operating at, either RGBLed.COMMON_ANODE or RGBLed.COMMON_CATHODE.
@extends webduino.Module
The RGBLed Class .