Example #1
0
// Setup
inline void Scan_setup()
{
	// Setup GPIO pins for matrix scanning
	Matrix_setup();

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

	// Reset scan count
	Scan_scanCount = 0;
}
Example #2
0
// Setup
inline void Scan_setup()
{
	// Register Scan CLI dictionary
	CLI_registerDictionary( scanCLIDict, scanCLIDictName );

	// Setup GPIO pins for matrix scanning
	Matrix_setup();

	// Reset scan count
	Scan_scanCount = 0;
}
Example #3
0
// Setup
inline void Scan_setup()
{
	// Setup UART Connect, if Output_Available, this is the master node
	Connect_setup( Output_Available );

	// Setup GPIO pins for matrix scanning
	Matrix_setup();

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

	// Reset scan count
	Scan_scanCount = 0;
}
Example #4
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();
}
Example #5
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;
}
// Setup
inline void Scan_setup()
{
	// Register Scan CLI dictionary
	CLI_registerDictionary( scanCLIDict, scanCLIDictName );

	// Setup GPIO pins for matrix scanning
	Matrix_setup();

	Matrix_pin(ledCaps, Type_StrobeSetup);
	Matrix_pin(ledCaps, Type_StrobeOn);
	Matrix_pin(ledFn, Type_StrobeSetup);
	Matrix_pin(ledFn, Type_StrobeOn);
	Matrix_pin(ledNum, Type_StrobeSetup);
	Matrix_pin(ledNum, Type_StrobeOn);

	// Reset scan count
	Scan_scanCount = 0;
}