I'm trying to make a thermostat controlled by my Raspberry Pi 4. It has a touchscreen, which covers the first 13 pins on both sides (pins 1-26). I obviously need to attach a temperature sensor (DS18B20). While I have access to a few grounds, all the voltage pins (1, 2, 4) are used by the touchscreen.
My question: Can I set a free GPIO pin to HIGH to use as VCC on my DS18B20?