between -180 and 180
| 112 | } |
| 113 | //between -180 and 180 |
| 114 | float readAngle(std::vector<uint8_t> const& data, int& pos) |
| 115 | { |
| 116 | return static_cast<float>(static_cast<int8_t>(readByte(data, pos))) / 120 * 180; |
| 117 | } |
| 118 | //between 36 and 1060 |
| 119 | float readEnergy(std::vector<uint8_t> const& data, int& pos) |
| 120 | { |
no test coverage detected