Intelligent Wireless Remote Control for Two-way Motor Inversion