Skip to content

Instantly share code, notes, and snippets.

@Krelyx
Created January 16, 2015 18:33
Show Gist options
  • Save Krelyx/98ca2f71dd600869508f to your computer and use it in GitHub Desktop.
Save Krelyx/98ca2f71dd600869508f to your computer and use it in GitHub Desktop.
Définitions de structures pour les données à envoyer
#ifndef dataStructures_H_
#define dataStructures_H_
#include "Float.h"
typedef struct {
uint8_t cmd;
uint8_t nid;
} sReceivedCommand;
typedef struct {
uint16_t temperature;
int16_t humidity;
} sDht11Data;
typedef struct {
unsigned long index_base;
uint16_t iinst;
int papp;
} sTeleInfoData;
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment