Closed MajorBreakfast closed 10 years ago
INPUT, OUTPUT, PWM_OUTPUT, GPIO_CLOCK are exposed from wpi. wpi.modes is present for backward compatibility. See lib/exports.js from line 26 to 29.
This patch didn't needed to be merged. It's not a real issue since wpi.INPUT, OUTPUT, ... constants exists. All it does is documenting a deprecated way to access those constants.
It seems that these constants aren't exposed on
wpi
but onwpi.modes
.