tessel / t2-docs

Documentation for Tessel 2.
https://tessel.gitbooks.io/t2-docs/content/
Creative Commons Attribution Share Alike 4.0 International
28 stars 30 forks source link

Document `pin.toggle()` #178

Closed xasc closed 7 years ago

xasc commented 7 years ago

pin.toggle() sounds like a useful method for changing the value of digital GPIOs with defined level. There is currently no reference in the Hardware API.

Should this method be added to the documentation at all?

If so, I suggest to add method description and a short example to Digital Pins.

HipsterBrown commented 7 years ago

I think this should definitely be documented because I agree it looks like a convenient and useful method. cc: @rwaldron @Frijol

@xasc Do you feel comfortable opening a PR to document this API?

xasc commented 7 years ago

Yes, I can take care of it.