1K is also fine but increases load on the pin when set to output mode and driven high (3mA). Not a problem but just increases current drawn a bit.
1K is also fine but increases load on the pin when set to output mode and driven high (3mA). Not a problem but just increases current drawn a bit.