Renamed controlled arduino source
Auto calc input count