ArduinoCore-API
ArduinoCore-API copied to clipboard
Adding UNDEFINED pin status
I'm new to Arduino and as an exercise I'm working on a class encapsulating a digital input. The corresponding read() method returns a PinStatus. Normally it is LOW or HIGH, but an UNDEFINED status is usefull if the corresponding object has not yet been initialised (i.e. the init() method has not been called, which in turn calls pinMode(INPUT)).
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 95.53%. Comparing base (
0c853c5) to head (e7558bd).
Additional details and impacted files
@@ Coverage Diff @@
## master #229 +/- ##
=======================================
Coverage 95.53% 95.53%
=======================================
Files 16 16
Lines 1075 1075
=======================================
Hits 1027 1027
Misses 48 48
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.