Skip to content

Commit

Permalink
EV3: nit cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Sep 5, 2015
1 parent c38d267 commit fac8cf5
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions lib/ev3.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ EV3.prototype.write = function(port, register, data) {
/*
* Shield Registers
*/

EV3.BAS1 = 0x01;
EV3.BAS2 = 0x02;
EV3.BBS1 = 0x03;
Expand All @@ -118,8 +119,6 @@ EV3.BAM2 = 0x06;
EV3.BBM1 = 0x07;
EV3.BBM2 = 0x08;



EV3.BANK_A = 0x1A;
EV3.BANK_B = 0x1B;

Expand All @@ -138,14 +137,6 @@ EV3.Type_LIGHT_REFLECTED = 0x03;
EV3.Type_LIGHT_AMBIENT = 0x04;
EV3.Type_I2C = 0x09;

// EV3.Type_COLORFULL = 13;
// EV3.Type_COLORRED = 14;
// EV3.Type_COLORGREEN = 15;
// EV3.Type_COLORBLUE = 16;
// EV3.Type_COLORNONE = 17;
// EV3.Type_EV3_TOUCH = 18;
// EV3.Type_EV3 = 19;

EV3.Type_COLORFULL = 0x0D;
EV3.Type_COLORRED = 0x0E;
EV3.Type_COLORGREEN = 0x0F;
Expand Down

0 comments on commit fac8cf5

Please sign in to comment.