EnviroDIY / Arduino-SDI-12

An Arduino library for SDI-12 communication with a wide variety of environmental sensors. This library provides a general software solution, without requiring any additional hardware.
https://github.com/EnviroDIY/Arduino-SDI-12/wiki
BSD 3-Clause "New" or "Revised" License
164 stars 100 forks source link

Fix receive ISR to correctly handle the wake and marking #77

Open SRGDamia1 opened 3 years ago

SRGDamia1 commented 3 years ago

For a master, this makes no difference because it's controlling the line state and not listening for interrupts during the break and marking. For a slave or a spy, the break and marking are currently read as characters, which creates junk and screws up the first real character.