Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reading incoming serial data, routing messages to drivers
-removed bin/ Coordinator.java: -added byteBuffer to hold incomming serial data -added processMessage() to process incoming messages from remote modules and route commands to drivers -added boolean connectionReady to indicate whether the local arduino link is ready to accept input -disabled check for IO in main loop for testing Driver.java: -added getState() to get the state of the thread. SerialConnection: -changed visibility of more methods to package -disabled printing of read char in serialEvent() -disabling more debug messages since the code seems solid enough
- Loading branch information
1 parent
357845b
commit fd575fa
Showing
14 changed files
with
120 additions
and
45 deletions.
There are no files selected for viewing
Binary file removed
BIN
-612 Bytes
coordinator_eclipse_workspace/Coordinator/bin/org/apparatus_templi/ControllerModule.class
Binary file not shown.
Binary file removed
BIN
-11.5 KB
coordinator_eclipse_workspace/Coordinator/bin/org/apparatus_templi/Coordinator.class
Binary file not shown.
Binary file removed
BIN
-710 Bytes
coordinator_eclipse_workspace/Coordinator/bin/org/apparatus_templi/Driver.class
Binary file not shown.
Binary file removed
BIN
-3.11 KB
coordinator_eclipse_workspace/Coordinator/bin/org/apparatus_templi/LedFlash.class
Binary file not shown.
Binary file removed
BIN
-1.12 KB
coordinator_eclipse_workspace/Coordinator/bin/org/apparatus_templi/Log.class
Binary file not shown.
Binary file removed
BIN
-513 Bytes
coordinator_eclipse_workspace/Coordinator/bin/org/apparatus_templi/SensorModule.class
Binary file not shown.
Binary file removed
BIN
-4.93 KB
coordinator_eclipse_workspace/Coordinator/bin/org/apparatus_templi/SerialConnection.class
Binary file not shown.
Binary file removed
BIN
-4.82 KB
coordinator_eclipse_workspace/Coordinator/bin/org/apparatus_templi/SerialConnectionOld.class
Binary file not shown.
Binary file removed
BIN
-1.81 KB
coordinator_eclipse_workspace/Coordinator/bin/org/apparatus_templi/SimpleHttpServer.class
Binary file not shown.
Binary file removed
BIN
-3.58 KB
coordinator_eclipse_workspace/Coordinator/bin/org/apparatus_templi/StatefullLed.class
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters