Exemplo n.º 1
0
// Setup
inline void Scan_setup()
{
	// Setup GPIO pins for matrix scanning
	Matrix_setup();

	// Setup ISSI chip to control the leds
	LED_setup();

	// Setup Pixel Map
	Pixel_setup();

	// Start Matrix Scanner
	Matrix_start();
}
Exemplo n.º 2
0
// Setup
inline void Scan_setup()
{
	// Setup GPIO pins for matrix scanning
	Matrix_setup();

	// Setup ISSI chip to control the leds
	LED_setup();

	// Setup Pixel Map
	Pixel_setup();

	// Reset scan count
	Scan_scanCount = 0;

	// Reset starting strobe position
	Scan_strobe_position = 0;
}