Implemented basic command detector
This commit is contained in:
@@ -3,11 +3,10 @@
|
||||
class HelloWorld {
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Hello, World!");
|
||||
String input = "1962";
|
||||
//String input = "12032";
|
||||
String input = "9";
|
||||
CommandDecoder commandDecoder = new CommandDecoder();
|
||||
commandDecoder.CommandDecoder(input);
|
||||
int binaryInput = Integer.parseInt(input);
|
||||
System.out.println(binaryInput);
|
||||
Boolean test = (binaryInput & 0x3F00) == 0x700;
|
||||
System.out.println(test);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user