ESP8266 part of the f105-motor-demo project (see f105-motor-demo_stm32)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
f105-motor-demo_esp/user/datalink.h

22 lines
368 B

#ifndef DATALINK_H
#define DATALINK_H
#include <esp8266.h>
#include <sbmp.h>
// request to capture data...
#define DG_REQUEST_RAW 40
#define DG_REQUEST_FFT 41
// reporting helpers
#define DG_REQUEST_STORE_REF 42
#define DG_REQUEST_COMPARE_REF 43
extern SBMP_Endpoint *dlnk_ep;
void datalinkInit(void);
void datalink_receive(uint8_t byte);
#endif // DATALINK_H