Help needed with my code to actually run

Use the real thing instead of a simulator. With a simulator, if it works, great; if it does not work, you do not know if it's your code or the simulator.