ic卡读写程序#include#defineucharunsignedcharsbitcs=P1^0;//cs连接于P1.0,低电平效sbitclk=P1^1;//clk连接于P1.1sbitdat=P1^2;//dat连接于P1.2