2017-11-24 13:29:36 +02:00
|
|
|
#ifndef MAIN_H
|
|
|
|
#define MAIN_H
|
|
|
|
|
2017-11-28 15:25:12 +02:00
|
|
|
#include <stdint.h>
|
2018-01-20 22:51:44 +02:00
|
|
|
#include "common.h"
|
2018-01-20 20:43:41 +02:00
|
|
|
|
|
|
|
void convert_data_to_raw(data_packet_t *in, uint8_t *out);
|
2018-01-22 21:24:41 +02:00
|
|
|
void send_sensor_data(const int32_t *distance_in_cm);
|
|
|
|
void decide_movement(const int32_t *distance_in_cm);
|
2017-11-24 13:29:36 +02:00
|
|
|
|
|
|
|
#endif
|