MCPcopy Create free account
hub / github.com/SunOner/sunone_aimbot_2 / read

Method read

sunone_aimbot_2/mouse/Arduino.cpp:84–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84std::string Arduino::read()
85{
86 if (!is_open_)
87 return std::string();
88
89 std::string result;
90 try
91 {
92 result = serial_.readline(65536, "\n");
93 }
94 catch (...)
95 {
96 is_open_ = false;
97 }
98 return result;
99}
100
101void Arduino::click()
102{

Callers 1

listeningThreadFuncMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected