C:\Users\hp pc\Desktop\MES\ttt.uvproj - pVision4 File Edit View Project Flarh Debug Peripherals Tools SVCS Window Help
O
Download
Erase
Project
Configure Flash Tools...
E-fcJ Target 1
B ^ Source Group 1 [£) Startup.s fr [2) ttt.c
IłIpt... U Fi O^Te
Build Output
48
49
50
51
52
53
54
55
56
57
58
59
60 61 62
63
64
65
66
67
68
69
70
71
72
73
74
75 )
PINSELO - 0x00000000; PINSEL1 = 0x00000000; IOODIR - OxFOFFOOOO; I01DIR = 0x00000000;
while(1)
{
IOOSET |= ALLDISP; // selecc all digics
IOOCLR = 0x00FF0000; // elear che daca lines co 7-segmenc dlsplaya
IOOSET = Disp[Swicchcounc]; // gec che 7-segmenc display value from che array
if(!(I01PIN & 0x00800000))
{
for(delay=0;delay<100000;delay++) {)
// if che Jcey is pressed // delay
if ((I01PIN & 0x00800000)) // checlc co see if key has been released
Swicchcounc++; if(Swicchcounc {
Swicchcounc = 0;
IOOCLR - 0xF0FF0000;
)
0x10) // 0 co F has been displayed ? go back co 0
linking...
Program Size: Code=720 RO-daca=32 RW-daca=72 ZI-daca=1256 ".\ccc.axf" - 0 Error(s), 1 Warning(s).
Simulation
L75C2
CAP NUM SCRL OVR RM'