analogComp
analogComp copied to clipboard
Added read comparator method
When using an interrupt to detect change, it's sometimes necessary to find whether it was rising or falling within the callback function. This method makes that a bit easier.