changed randomSeed to an unused analogPin