Skip to content

Commit

Permalink
README: Fix executable name; Clarify button type ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
klasbo committed Feb 18, 2018
1 parent 0629b48 commit aa5480e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The simulator has several configuration options, which you can find [listed here
You can start multiple simulators with different port numbers to run multiple elevators on a single machine.
- `--numfloors`: The number of floors 2 to 9), which defaults to 4.

Options passed on the command line (eg. `./sim_server --port 12345`) override the options in the the `simulator.con` config file, which in turn override the defaults baked in to the program. `simulator.con` must exist in the same folder as the executable in order to be loaded.
Options passed on the command line (eg. `./SimElevatorServer --port 12345`) override the options in the the `simulator.con` config file, which in turn override the defaults baked in to the program. `simulator.con` must exist in the same folder as the executable in order to be loaded.

Options are not case sensitive.

Expand Down Expand Up @@ -199,6 +199,7 @@ Protocol
</tbody>
</table>

Button types (for reading the button and setting the button light) are in the order `0: Hall Up`, `1: Hall Down`, `2: Cab`.

Since interfacing is done over TCP, you can also use command-line utilities to interface with the simulator server. For example, to read the current floor:
```bash
Expand Down

0 comments on commit aa5480e

Please sign in to comment.