Changed loop for dust sensor