This code/sketch allows users to remotely control a bipolar stepper motor via Bluetooth module (HM-10). The motor is connected to the Arduino board via a A4988 motor driver that is connected to pins 3-5 of the Arduino. The Bluetooth module is connected to the TX and RX lines of the Arduino’s (Genuino’s) serial port.
The Arduino/Genuino can move the motor up or down through the channel numbers in the myChannelNum array to point your motor to match the angle in the myChannelDegAngle array.
A list of channels in the United States and corresponding angle relative to your location can be found on a number of sites such as AntennaWeb and the on the FCC website.