Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Other assembly language
Title: 8、交通灯 Download
 Description: / define IO port --- // #define GPIO_DIG P0 // show segment code port, 74HC573 latch; #define GPIO_PALCE P1 // digital segment select port, 74HC138 decoder; #define GPIO_TRAFFIC P2 // traffic light port; Sbit RED10 = P2 ^ 0; // on the street red light; Sbit GREEN10 = P2 ^ 1; // on the sidewalk green light; Sbit RED11 = P2 ^ 2; // on the motor red light; Sbit YELLOW11 = P2 ^ 3; // on the motor vehicle yellow light; Sbit GREEN11 = P2 ^ 4; // on the green car; Sbit RED00 = P3 ^ 0; // right walkway red light; Sbit GREEN00 = P3 ^ 1; // right lane green light; Sbit RED01 = P2 ^ 5; // right motor red light; Sbit YELLOW01 = P2 ^ 6; // right motor vehicle yellow light; Sbit GREEN01 = P2 ^ 7; // right motor green light;
 Downloaders recently: [More information of uploader 秦 ]
 To Search:
File list (Check if you may need any files):
8、交通灯
8、交通灯\交通灯
8、交通灯\交通灯.LST
8、交通灯\交通灯.M51
8、交通灯\交通灯.OBJ
8、交通灯\交通灯.c
8、交通灯\交通灯.hex
8、交通灯\交通灯.lnp
8、交通灯\交通灯.plg
8、交通灯\交通灯.uvopt
8、交通灯\交通灯.uvproj
8、交通灯\交通灯_uvopt.bak
8、交通灯\交通灯_uvproj.bak

CodeBus www.codebus.net