I wanted to write a programs about traffic light,but the last line aiways say syntax error. Help >> about µVision is display:
IDE-Version: µVision V5.14.2 Copyright (C) 2015 ARM Ltd and ARM Germany GmbH. All rights reserved.
License Information: 156 186 561 LIC=----
Tool Version Numbers: Toolchain: PK51 Prof. Develpers Kit Version: 9.54 Toolchain Path: C:\Users\PC39\Desktop\C51\BIN C Compiler: C51.exe V9.54 Assembler: A51.exe V8.02c Linker/Locator: BL51.exe V6.22 Librarian: LIB51.exe V4.30.1.0 Hex Converter: OH51.exe V2.7.0.0 CPU DLL: S8051.DLL V3.100.0.0 Dialog DLL: DP51.DLL V2.62.0.1
can you help me?
Do you think the specific error message and code might be more enlightening than the IDE version in this situation?
Use the PRE tags so it looks like you read the instructions.
I am sorry I do not understand what you mean. Will I post the error message to you?
The compiler says your code is broken, so you show me the version of the compiler/IDE, think about how that's going to help understand what is wrong with YOUR code.
If you want help with a compilation error message, then you would obviously have to supply the actual error message. And most likely you would also need to supply us with the relevant source code the error message is relating to since syntax errors relates to source code syntax - and we can't guess what your code looks like...
/*-------------------------------------------------- ç³»çµ±é˜æŽ§è¨ˆæ™‚ä¸æ–·æœå‹™å¸¸å¼ --------------------------------------------------*/ #include <reg51.h> #include "system.h" #include "tick.h" #include "keypad.h"
#define TICK_INTERRUPT_PERIOD_CNT (((XTAL*TICK_INTERRUPT_PERIOD_MS)/1000)/12)
View all questions in Keil forum