Help with code that is not working correctly

Is your baud rate from the IDE same as that in the program? If you force incoming byte to be H in the code, does the servo move? How are you powering the servo?