今天有空,按照附件指导,做了一个程序,没想到这么简单的一个东西,通过不了编译,
我想看看有没有做过的,是我的问题,还是系统问题
c51.exe E:\project\Design01\Design01.cydsn\Generated_Source\PSoC3\VoltageLo_isr.c NOIV LARGE MODDP2 OMF2 VB(1) PR(E:/project/Design01/Design01.cydsn/DP8051_Keil_816/Debug/VoltageLo_isr.lst) CD DB NOIP OT(2, Size) INCDIR(Generated_Source/PSoC3) OJ(E:/project/Design01/Design01.cydsn/DP8051_Keil_816/Debug/VoltageLo_isr.OBJ)
ERROR: E:\PROJECT\DESIGN01\DESIGN01.CYDSN\GENERATED_SOURCE\PSOC3\VOLTAGELO_ISR.C:30: non-address/-constant initializer
ERROR: E:\PROJECT\DESIGN01\DESIGN01.CYDSN\GENERATED_SOURCE\PSOC3\VOLTAGELO_ISR.C:32: 'val': multiple initialization
ERROR: E:\PROJECT\DESIGN01\DESIGN01.CYDSN\GENERATED_SOURCE\PSOC3\VOLTAGELO_ISR.C:32: 'val': redefinition
ERROR: E:\PROJECT\DESIGN01\DESIGN01.CYDSN\GENERATED_SOURCE\PSOC3\VOLTAGELO_ISR.C:33: syntax error near 'if'
ERROR: E:\PROJECT\DESIGN01\DESIGN01.CYDSN\GENERATED_SOURCE\PSOC3\VOLTAGELO_ISR.C:33: syntax error near '>', expected ')'
ERROR: E:\PROJECT\DESIGN01\DESIGN01.CYDSN\GENERATED_SOURCE\PSOC3\VOLTAGELO_ISR.C:33: missing ';' before ')'
The command 'c51.exe' failed with exit code '2'.
Think+it+-+Draw+it+-+Build+it+with+PSoC+Creator+-+article.pdf
(482.85 KB)
|