Skip to content

Commit

Permalink
Update config.h
Browse files Browse the repository at this point in the history
  • Loading branch information
olkal authored Jul 3, 2024
1 parent 3c7518f commit 7762bc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ Note that you can also overide (reducing) the number of samples in use at any ti
#define IGN_LOW_SAMPLE 1 //default value: 1

//microsecond delay after writing sck pin high or low. This delay could be required for faster mcu's.
//So far the only mcu reported to need this delay is the ESP32 (issue #35), both the Arduino Due and ESP8266 seems to run fine without it.
//Change the value to '1' to enable the delay.
#define SCK_DELAY 0 //default value: 0
//Mcu's reported to need this delay is the ESP32 (issue #35) and RP2040, the Arduino Due and ESP8266 seems to run fine without it.
//Change the value to '0' to disable the delay.
#define SCK_DELAY 1 //default value: 1 (enabled)

//if you have some other time consuming (>60μs) interrupt routines that trigger while the sck pin is high, this could unintentionally set the HX711 into "power down" mode
//if required you can change the value to '1' to disable interrupts when writing to the sck pin.
Expand Down

0 comments on commit 7762bc4

Please sign in to comment.