5KG电子称的源程序hx711 #ifndef _hx711_h_ #define _hx711_h_ #include #include #define uchar unsigned char #define uint unsigned int #define ulong unsigned long sbit hx711_dout=P2^0; sbit hx711_sck=P2^1; void Delay__hx711_us(void) { _nop_(); _nop_(); } ulong ReadCount(void) //增益128