bogde / HX711

An Arduino library to interface the Avia Semiconductor HX711 24-Bit Analog-to-Digital Converter (ADC) for Weight Scales.
MIT License
896 stars 538 forks source link

atomic operation is unnecessary #221

Open bcbergmanuu opened 2 years ago

bcbergmanuu commented 2 years ago

The code blocks interrupts to avoid messing up reading the device, but the only requirement according to the datasheet is:

When you keep interrupt routines short, this deadline will always be met. For a RtOS enabled devices this is especially the case, as the thread can be switched to finish the procedure after an interrupt.