Skip to content

Instantly share code, notes, and snippets.

@novodinia
Last active December 21, 2015 09:59
Show Gist options
  • Save novodinia/6289272 to your computer and use it in GitHub Desktop.
Save novodinia/6289272 to your computer and use it in GitHub Desktop.
var MonitorCollection = function() {
family: "5c34";
maxResolution: {w: 1920, h:1080};
}
MonitorCollection.prototype.monitor1 = function() {
this.verticalRefresh = 60; //Hz
this.horizontalRefresh = 72; //Hz
this.wideMode = "off";
this.ddc = "off";
this.turnOn = function() {
this.signalPin(13);
}
this.signalPin(num) { /*...*/ }
}
MonitorCollection.prototype.monitor2 = function() {
this.verticalRefresh = 60; //Hz
this.horizontalRefresh = 72; //Hz
this.wideMode = "on";
this.ddc = "on";
this.turnOn = function() {
this.signalPin(12);
}
this.signalPin(num) { /*...*/ }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment