This commit is contained in:
2017-06-28 20:40:01 +02:00
parent 76dd61f48b
commit 8d2b664149
41 changed files with 5225 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#ifndef ULTRASOUND_SENSOR_HPP_
#define ULTRASOUND_SENSOR_HPP_
#include <cstdint>
class ultrasound_sensor
{
private:
void *ultrasonic;
public:
ultrasound_sensor(uint8_t trigger, uint8_t echo, uint8_t temprature = 20);
ultrasound_sensor(const ultrasound_sensor &) = delete;
ultrasound_sensor(ultrasound_sensor &&) = delete;
uint32_t get_value() const;
~ultrasound_sensor();
};
#endif