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

Method write

sunone_aimbot_2/mouse/Arduino.cpp:68–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68void Arduino::write(const std::string& data)
69{
70 std::lock_guard<std::mutex> lock(write_mutex_);
71 if (is_open_)
72 {
73 try
74 {
75 serial_.write(data);
76 }
77 catch (...)
78 {
79
80 }
81 }
82}
83
84std::string Arduino::read()
85{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected