добавил программу для воздуха, но она пока не работает

This commit is contained in:
2025-11-13 19:13:53 +03:00
parent 6ef59210bb
commit af351135a2
4 changed files with 300 additions and 6 deletions

View File

@@ -69,7 +69,7 @@ bool JoystickReader::readData(std::vector<uint16_t>& data) {
for (auto& i: data) {
if (i < 900) i = 900;
if (i > 1100) i = 1100;
if (i > 2100) i = 2100;
}
std::this_thread::sleep_for(std::chrono::milliseconds(updateIntervalMs));