 	}
 	int getRand () {
 		//return a random number
-		return analogRead(CFG::RANDPIN);//analog pin 'static' method of getting a random number
+		// return analogRead(CFG::RANDPIN);//analog pin 'static' method of getting a random number
+		return random(1024);
 	}
 	void setOutputColor(RGB color) {
 		//set the input color as the pwm output color

		
		
		mode1.isHSV = false;
		mode1.random = false;
	}
	// const unsigned long interval = 5000; //the interval of color change, the time it takes to fade from one color to the next
	const unsigned long interval = 750;//fast for testing

		if (len == 1) //if there is only one color abort
			return *(clist);
		if (activeMode->random) {//check if the next color should be random or not
			uint8_t rand = getRand() % (len-1);//get random number, and limit it with modulo length - 1 to keep it in bounds
			if (rand == currentColor) //don't show the same color multiple times in a row
				currentColor = (currentColor + 1) % (len-1);//the same limiting as above
			else
				currentColor = rand;
			return *(clist + currentColor);
		} 
		else //simply go to the next color if random is turned off
			if (++currentColor >= len) {//increment the color index and check if it is out of bounds
