Jump to content
Wanderers Ways. Neil Thompson 1961-2021

Proteus Library - Hx711

while(digitalRead(3) == HIGH); // Wait for DT low

// 25th clock pulse for channel/gain selection digitalWrite(2, HIGH); delayMicroseconds(1); digitalWrite(2, LOW); hx711 proteus library

for(int i = 0; i < 24; i++) { digitalWrite(2, HIGH); delayMicroseconds(1); value = value << 1; if(digitalRead(3) == HIGH) value++; digitalWrite(2, LOW); delayMicroseconds(1); } while(digitalRead(3) == HIGH); // Wait for DT low

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.