The flashing red light shows error codes. Flashing evenly is no error code, then any uneven sequence denotes an error, like three flashes and a short pause is error code 3.
One of these can be useful for testing output from the controller. It also tests the hall sensors and motor phases for...