Skip to content

Call pinMode() in setup() rather than in constructors.

Choose a tag to compare

@SvenRosvall SvenRosvall released this 13 Jul 08:44
· 17 commits to master since this release

This fixes a potential race condition where pinMode() is called before the Arduino environment is ready for this call.
Ensure the pinMode() calls are made during the call to setup().