//**清显示位*******Р Segment_Port=led_code[display_data[4]];Р Segment_Bit2=0;Р delay();Р Segment_Bit2=1;Р Segment_Port=led_code[display_data[3]];Р Segment_Bit3=0;Р delay();Р Segment_Bit3=1;Р Segment_Port=led_code[display_data[2]];Р Segment_Bit4=0;Р delay();Р Segment_Bit4=1;Р Segment_Port=led_code[display_data[1]];Р Segment_Bit5=0;Р delay();Р Segment_Bit5=1;Р Segment_Port=led_code[display_data[0]];Р Segment_Bit6=0;Р delay();Р Segment_Bit6=1;Р }Р }Р//--------------------------------------------------- end