Support learning for the version 1 wudevice by using Digital Pin 2. COnnect the D2 to the GND will start the learning mode now.