470R is definitely 470 Ohm, and yes, it could probably be anything from 500-20000 Ohms (or more!).
You could connect directly to Espruino as you say (skipping the resistor + switch) - I don't see any reason why not, as the pin seems only to be an input to the HM-10.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
470R is definitely 470 Ohm, and yes, it could probably be anything from 500-20000 Ohms (or more!).
You could connect directly to Espruino as you say (skipping the resistor + switch) - I don't see any reason why not, as the pin seems only to be an input to the HM-10.