Skip to content

Instantly share code, notes, and snippets.

@zilberas
Created December 23, 2019 01:01
Show Gist options
  • Save zilberas/4d74c38485b7546e97fa3ac915c5061f to your computer and use it in GitHub Desktop.
Save zilberas/4d74c38485b7546e97fa3ac915c5061f to your computer and use it in GitHub Desktop.
Header file for HX710BDriver
#include <stdio.h>
#include <stdlib.h>
struct Readings {
int32_t sensor1;
int32_t sensor2;
int32_t sensor3;
int32_t sensor4;
};
int startReading (int *stop, void (*ptr)(struct Readings readings));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment