jfpoilpret / fast-arduino-lib

C++ platform to build Arduino and AVR projects. Rationale is size and speed optimization.
GNU Lesser General Public License v2.1
60 stars 9 forks source link

Fix #74 improve FastPin type declaration #75

Closed jfpoilpret closed 4 years ago

jfpoilpret commented 4 years ago

Added 3 template type aliases to ease usage of gpio::FastPin in programs:

Also added 1 template type alias to ease interrupt::PCISignal usage:

All aliases are uppercase as per FastArduino coding guidelines. All examples and tutorial samples have been updated to use the new API (better than old one, still present).

Thanks @hreintke for this request for a useful enhancement.