dmadison / ServoInput

Interrupt-driven servo decoder library for Arduino
GNU Lesser General Public License v3.0
22 stars 10 forks source link

Create universal 'slow' read mode #18

Closed dmadison closed 2 years ago

dmadison commented 2 years ago

Using the built-in Arduino digitalRead() function instead of referencing the register. Significantly slower, but "should" work on just about every platform.

This also prefixes the preprocessor functions to avoid potential name collisions with headers included before ServoInput.