the base resistor has to be higher so the potential at gpio is higher than 1/2 of Vcc, so theoretically even 1k could be ok as the base itself pulls the level up ~0.7V. So its up to you to find your optimum value.
the base resistor has to be higher so the potential at gpio is higher than 1/2 of Vcc, so theoretically even 1k could be ok as the base itself pulls the level up ~0.7V. So its up to you to find your optimum value.