TeensyNanoExoCode
Loading...
Searching...
No Matches
RealTimeI2C.h
Go to the documentation of this file.
1#ifndef REAL_TIME_I2C_H
2#define REAL_TIME_I2C_H
3#include "Arduino.h"
4
5namespace rt_data
6{
7 static int BILATERAL_HIP_ANKLE_RT_LEN = 8;
8 static int BILATERAL_ANKLE_RT_LEN = 8;
9 static int BILATERAL_HIP_RT_LEN = 8;
10 static int RIGHT_KNEE = 8;
11 static const uint8_t len = BILATERAL_ANKLE_RT_LEN;
12 static float* float_values = new float(len);
13
14 static bool new_rt_msg = false;
15};
16
18{
19 void msg(float* data, int len);
20 bool poll(float* pack_array);
21 void init();
22};
23
24#endif
Definition RealTimeI2C.h:18
void init()
Definition RealTimeI2C.cpp:91
bool poll(float *pack_array)
Definition RealTimeI2C.cpp:101
void msg(float *data, int len)
Definition RealTimeI2C.cpp:55
Definition RealTimeI2C.h:6