so i need my esp to be in deepsleep until a button is press this can be don bay setting a crasy amount off deepsleep time and connecting gpio 16 to a button witch is normaly closed and when pressed connection gpio 16 to ground this works but is it a realy bad idear ? shut i use a resistor in seris with the connection to ground ore what is the bedst solution? to also safe gourd aginst long press's ?
so i need my esp to be in deepsleep until a button is press this can be don bay setting a crasy amount off deepsleep time and connecting gpio 16 to a button witch is normaly closed and when pressed connection gpio 16 to ground this works but is it a realy bad idear ? shut i use a resistor in seris with the connection to ground ore what is the bedst solution? to also safe gourd aginst long press's ?