diff --git a/.gitignore b/.gitignore index 0935c39bc9843996abe9cabb1ff5452644d826c7..1a407c5a14aa6cbdde1b45ffb94956d8737bbeea 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,14 @@ recv *.o *.i output_results -*.swp \ No newline at end of file +*.swp +.deps +.libs +host/Makefile +autom4te.cache +config.log +config.status +libtool +pyenergy.la +*.lo +stamp-h1 diff --git a/host/host_receiver.h b/host/host_receiver.h new file mode 100644 index 0000000000000000000000000000000000000000..24c793f2e2cef9b0d655dd00a7774e3ec1002700 --- /dev/null +++ b/host/host_receiver.h @@ -0,0 +1,34 @@ +#ifndef __HOST_RECEIVER_H__ +#define __HOST_RECEIVER_H__ +using namespace std; + +void cmd_connect(); +void cmd_connect_to(string connect_to); + +void cmd_getserial(); +void cmd_setserial(string new_serial); + +void cmd_setresistor(string new_resist); +void cmd_setrefvoltage(string new_voltage); +void cmd_setgain(string new_gain); + +void cmd_trigger(string trigger); + +void cmd_leds(); + +void cmd_start(); +void cmd_start_with_file(string output_file); +void cmd_stop(); + +void cmd_power(); +void cmd_power_set(string power); + +void cmd_mode(string new_mode); + +void cmd_help(); + +void cmd_exit(); + +void processCommand(string input); + +#endif /* __HOST_RECEIVER_H__ */