Using the hall effect sensor to deregulate an ebike
A very simple script that takes the hall effect sensor input from an ebike and outputs the same square proportionally, but at lower frequency, thereby tricking the controller that the bike is going slower.