For logic inputs, we can either use pull up resistors to 5V for pull down to ground. What are the pros and cons for boths and which is better to use and why? Thanks