Cleaned the code a bit. Fixed the extension bit masks.

This commit is contained in:
2014-06-18 12:03:32 -04:30
parent 50278109eb
commit 189e4fe378
2 changed files with 11 additions and 12 deletions

View File

@@ -18,6 +18,7 @@ package ve.ucv.ciens.ccg.nxtarbot.protocol;
/**
* <p>Bit masks used to code/decode the control instructions sent by NxtAR-cam to
* NxtAR-bot.</p>
*
* <p>Expansions 1-3 are currently unused.</p>
*/
public abstract class MotorMasks {
@@ -27,6 +28,6 @@ public abstract class MotorMasks {
public static final byte DIRECTION = (byte)0x08;
public static final byte RECENTER = (byte)0x10;
public static final byte EXPANSION_1 = (byte)0x20;
public static final byte EXPANSION_2 = (byte)0x20;
public static final byte EXPANSION_3 = (byte)0x20;
public static final byte EXPANSION_2 = (byte)0x40;
public static final byte EXPANSION_3 = (byte)0x80;
}