pc_display.c

来自「lpc2138读写SD卡的fat文件系统」· C语言 代码 · 共 25 行

C
25
字号
/*
//    wr_32hex(IOPIN0); printf("  "); 
    printf("%1x",read_wind_dir_bits()); printf(" "); 
	printf("%4.1f",wind_dir());
//    wr_32hex(T1TC);	printf("  ");
//    wr_32hex(timer_1_capture); printf("  ");	// clear n and capture register
    tmp1 = wind_speed(timer_0_capture);
	printf(" %7.0f",tmp1);
	printf("\n");
//	printf(" %2d",T0_flag);
	ad1 = (float) val;
	ad1 = ad1*3.3/1024;
//	printf("  %3.2f",ad1);

	ad0 = (float) tval;
	ad0 = ad0*3.3/1024;
	printf(" %3.2f",ad0);

//	printf("  %4x",PINSEL0);
//	printf("  %4x",PINSEL1);
	printf("  %4x",IOPIN0);

//	printf("  %d",tval);
//	printf("\n");
*/

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?