You need to clear I to zero on initialisation. as I can be up to 255 you are only displaying 2 of the three digits.

You also have no way out of your Gosub routine.

Once it gets there there is no way out as you have a gosub to the same gosub !