コード例 #1
0
ファイル: main.c プロジェクト: 12019/stm32-camera
int main(void)
{	

	test_config();
	SD_test();

  while (1)
  {}
}
コード例 #2
0
ファイル: main.c プロジェクト: RajenderMehta/EmbeddedProjects
int main()
{
	FATFS fs;
	UINT br;
    char rd_buff[0x1e] = {0};

	//Global interrupt enable.
	/*CyGlobalIntEnable;*/
	
	SD_test();
	
    /* Open a text file and type it */
	if (pf_mount(&fs) == FR_OK &&
		pf_open("HELLO.TXT") == FR_OK) {
    		pf_read(rd_buff, 0x1e, &br);	/* Direct output to the console */
	}

	for (;;) ;
}