lib/dothat/dothat.js
function DOTHAT() {
    if (!(this instanceof DOTHAT)) {
        return new DOTHAT();
    }
    
    this.displayOTron = new DisplayOTron('HAT');
    this.lcd = new LCD(this.displayOTron);
    this.backlight = new Backlight(this.displayOTron);
    this.barGraph = new BarGraph(this.displayOTron);
    this.touch = new Touch(this.displayOTron);
}
function DOTHAT() {
    if (!(this instanceof DOTHAT)) {
        return new DOTHAT();
    }
    
    this.displayOTron = new DisplayOTron('HAT');
    this.lcd = new LCD(this.displayOTron);
    this.backlight = new Backlight(this.displayOTron);
    this.barGraph = new BarGraph(this.displayOTron);
    this.touch = new Touch(this.displayOTron);
}
function DOTHAT ( ) { if ( ! ( this instanceof DOTHAT ) ) { return new DOTHAT ( ) ; } this . displayOTron = new DisplayOTron ( 'HAT' ) ; this . lcd = new LCD ( this . displayOTron ) ; this . backlight = new Backlight ( this . displayOTron ) ; this . barGraph = new BarGraph ( this . displayOTron ) ; this . touch = new Touch ( this . displayOTron ) ; }
Creates a new `DOTHAT` object.
@constructor
Creates a new DOTHAT object .