123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- #ifndef _HX711_H_
- #define _HX711_H_
- #include <fruit.h>
- #ifndef HX711_SCK_PIN
- #error you must define HX711_SCK_PIN before calling hx711.h
- #endif
- #ifndef HX711_DATA_PIN
- #error you must define HX711_DATA_PIN before calling hx711.h
- #endif
- void hx711Init(unsigned char gainA);
- void hx711Service();
- long hx711Read(unsigned char channel);
- #endif
|