1 #include "src\eng_comm.h"
\r
6 engine_message do_communication()
\r
9 //==== std::cout << "COMMUNICATION HERE" << std::endl;
\r
11 std::cout << "Enter 1 for continue." << std::endl;
\r
13 return msg == 1 ? ENGINE_RUN : ENGINE_QUIT;
\r
15 /*engine_message do_communication(bool *input)
\r
17 //communication here
\r
18 //==== std::cout << "COMMUNICATION HERE" << std::endl;
\r
19 return input['e'] == true ? ENGINE_QUIT : ENGINE_RUN;
\r
21 //engine_message do_communication(byte input)
\r
23 //communication here
\r
24 //==== std::cout << "COMMUNICATION HERE" << std::endl;
\r
25 //if(input) printf("%03d\n", input);
26 return keyp(1) == 1 ? ENGINE_QUIT : ENGINE_RUN;
\r