Simple method to configure the P2 digital pin filters for smart pins.
Low-level I2C Driver in Spin
Connect to DFRobot MAX31855 Interface via I2C
Enables Parallax X-Band motion detector and counts pulses within specified window (milliseconds).
WS2812b Driver for the P1
Uses P2 smart pins to provide PWM signals for motor speed and direction control.