Best way to make a servo tester

You can use WOKWI.COM to show a simulation of your code.