WildernessLabs / Documentation

Wilderness Labs Docs
https://developer.wildernesslabs.co/
63 stars 48 forks source link

Digital IO Docs #780

Open GeorgeStephens opened 5 months ago

GeorgeStephens commented 5 months ago

Updated CreateDigitalInterruptPort and CreateDigitalInputPort.

CreateDigitalInputPort previously included parameters for CreateDigitalInterruptPort.

Note that there is still an ambiguity in Glitch and Debounce filters as it states '0' to disable. Should this be 'TimeSpan.Zero'?

patridge commented 5 months ago

@GeorgeStephens Thank you for starting this!

I'm not sure I'm looking in the right place, but the only overloads I see take pin and resistor mode. So, maybe glitch and debounce are not valid in this context.

I'm going to update the text following these examples, but I'll try to nail down if those parameters are needed for input ports.