| 56 | } |
| 57 | |
| 58 | static void readExample(std::ostream &out, const AdsDevice &route) |
| 59 | { |
| 60 | AdsVariable<uint8_t> readVar{ route, 0x4020, 0 }; |
| 61 | |
| 62 | out << __FUNCTION__ << "():\n"; |
| 63 | for (size_t i = 0; i < 8; ++i) { |
| 64 | out << "ADS read " << std::hex << (uint32_t)readVar << '\n'; |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | static void readByNameExample(std::ostream &out, const AdsDevice &route) |
| 69 | { |