DS18B20 setting resolution without addressing As i understand the dallas library, there are two ways of referencing the sensor, one is to refer to the address, and the other is just to grab it as it is indexed.(gettempbyindex) 

I want to know how to set the resolution of the sensor when i'm using the gettempbyindex method, all the examples i can find seem to only set resolution when specifying the address explicitly.. 

Is it even possible?
You can use getAddress: bool DallasTemperature::getAddress(uint8_t* deviceAddress, uint8_t index)

If you want to set the resolution for all devices, you can just use void DallasTemperature::setResolution(uint8_t newResolution). (It will call getAddress for all indices.)