コード例 #1
0
ファイル: scan_loop.c プロジェクト: rhinoceraptor/controller
// 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;
}
コード例 #2
0
ファイル: scan_loop.c プロジェクト: Applepi/controller
// 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;

	// Setup LED Drivers
	LED_setup();
}
コード例 #3
0
ファイル: scan_loop.c プロジェクト: Applepi/controller
// 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;
}
コード例 #4
0
ファイル: scan_loop.c プロジェクト: Olical/ergodox
// 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();
}
コード例 #5
0
ファイル: scan_loop.c プロジェクト: webskin/controller
// 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;
}