#ifndef AEROVANE_H
#define AEROVANE_H
+enum {
+ AEROVANE_VECTOR_NULL = 65535U, /* Null vector has this value as dir */
+};
+
typedef struct {
uint16_t dir; /* Vane position. 0...1023; 360 degrees = 1024 */
uint16_t speed; /* Anemometer revolutions over reading period. */