mirror of
				https://github.com/hyperion-project/hyperion.ng.git
				synced 2025-03-01 10:33:28 +00:00 
			
		
		
		
	changed the SPI frequency to 2 Mhz.
APA102 can handle MUCH higher frequencies than WS2801, so 2Mhz is no big deal for them Former-commit-id: 814faa648e4f39d7105710ff872bde00aaeaada9
This commit is contained in:
		@@ -126,7 +126,7 @@ void setup()
 | 
			
		||||
  SPI.begin();
 | 
			
		||||
  SPI.setBitOrder(MSBFIRST);
 | 
			
		||||
  SPI.setDataMode(SPI_MODE0);
 | 
			
		||||
  SPI.setClockDivider(SPI_CLOCK_DIV16); // 1 MHz max, else flicker
 | 
			
		||||
  SPI.setClockDivider(SPI_CLOCK_DIV8); // 2Mhz
 | 
			
		||||
 | 
			
		||||
  // Issue test pattern to LEDs on startup.  This helps verify that
 | 
			
		||||
  // wiring between the Arduino and LEDs is correct.  Not knowing the
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user