Changeset 1a53973 in orbit for android/src/info
- Timestamp:
- 11/25/12 14:01:35 (10 years ago)
- Branches:
- master, RawEEG, Raw_EEG_Plot, Servo, Tab_Interface, pyramid
- Children:
- 71aa88f
- Parents:
- 41c4762
- Location:
- android/src/info/puzzlebox/orbit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
android/src/info/puzzlebox/orbit/MainActivity.java
r41c4762 r1a53973 533 533 } 534 534 535 command = "hover"; 535 // command = "hover"; 536 command = "idle"; 536 537 appendTextAndScroll("Command for serial device: " + command + "\n"); 537 538 serial.setCommand(command); -
android/src/info/puzzlebox/orbit/SerialDevice.java
r41c4762 r1a53973 30 30 31 31 String commandNeutral = "x000"; 32 //String commandHover = "x085";33 String command Hover = "x085\r";32 String commandHover = "x085"; 33 String commandIdle = "x030"; 34 34 String commandMaximumThrust = "x100"; 35 35 … … 39 39 String response = ""; 40 40 // byte[] setting = commandNeutral; 41 //String setting = commandNeutral;42 String setting = commandHover;41 String setting = commandNeutral; 42 // String setting = commandHover; 43 43 44 44 while (keep_running) { … … 46 46 if (command == "neutral") { 47 47 setting = commandNeutral; 48 } else if (command == "idle") { 49 setting = commandIdle; 48 50 } else if (command == "hover") { 49 51 setting = commandHover;
Note: See TracChangeset
for help on using the changeset viewer.