You can input your target as inches but then you need to do a conversion to encoder counts, before the loop starts. This is a good place to start or here