Thank you, this is my first electric bike. I was thinking maybe it's a motor fault. But error 10 apparently is a communication error which I was told to test without the motor connected and it still appeared.
It was running fine then it just stopped at 51 miles. I felt the controller, which was extremely warm. Like it had overheated possibly?
If I can find a matching controller I will still purchase as a spare for future repairs. Should it not fix me issue.
It is a communication error, but what's causing it. It can be a damaged cpu in the LCD or controller or the cable connecting them, water in the throttle or any other connector, any short on the 5v line, damaged motor wire, blown mosfets in the controller, a short in the motor, water in the motor, any other motor fault, blown 5v regulator in the controller, and a load more that I can't think of at the moment. The cause may well be in the controller, but you're going to feel a bit silly if you waste a bit of money when it isn't and you destroy your new controller too.
Your controller is just a standard cheapo Chinese one. You can find them in Aliexpress or Ebay with the LCD. It's always best to buy as a pair unless you're sure that they work with your LCD.