added a read with pullup option (readpullup) to spot_gpio and gpio_cmd