|
@@ -28,9 +28,12 @@ public class Cot {
|
|
|
*/
|
|
|
public Cot readByte(Byte value) {
|
|
|
original = value;
|
|
|
- test=value>>7==1;
|
|
|
- negativeConfirm=(value&0x40)>>6==1;
|
|
|
+ test=(original&0xff)>>7==1;
|
|
|
+ negativeConfirm=(original&0x40)>>6==1;
|
|
|
not=value&0x3f;
|
|
|
+ System.out.println(test);
|
|
|
+ System.out.println(negativeConfirm);
|
|
|
+ System.out.println(not);
|
|
|
return this;
|
|
|
}
|
|
|
|