蜂鸣器控制.plg

来自「音响效果程序」· PLG 代码 · 共 489 行 · 第 1/2 页

PLG
489
字号
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?BUZZERCLOSE?BUZZER*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?_MIDI?SPEAKERProgram Size: data=100.0 xdata=0 code=1672creating hex file from "蜂鸣器控制"..."蜂鸣器控制" - 0 Error(s), 5 Warning(s).Build target 'Target 1'compiling main.c...MAIN.C(56): warning C206: 'Midi': missing function-prototypeMAIN.C(56): error C267: 'Midi': requires ANSI-style prototypecompiling key.c...compiling LedDriver.c...compiling buzzer.c...compiling speaker.c...Target not createdBuild target 'Target 1'compiling main.c...compiling key.c...compiling LedDriver.c...compiling buzzer.c...compiling speaker.c...linking...*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?KBHIT?KEY*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?GETKEY?KEY*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?_LEDSETINTERVAL?LEDDRIVER*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?LEDWORK?LEDDRIVER*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?BUZZEROPEN?BUZZER*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?BUZZERCLOSE?BUZZERProgram Size: data=50.0 xdata=0 code=1199creating hex file from "蜂鸣器控制"..."蜂鸣器控制" - 0 Error(s), 6 Warning(s).Build target 'Target 1'compiling main.c...compiling key.c...compiling LedDriver.c...compiling buzzer.c...compiling speaker.c...linking...*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?KBHIT?KEY*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?GETKEY?KEY*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?_LEDSETINTERVAL?LEDDRIVER*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?LEDWORK?LEDDRIVER*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?BUZZEROPEN?BUZZER*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?BUZZERCLOSE?BUZZERProgram Size: data=48.0 xdata=0 code=995creating hex file from "蜂鸣器控制"..."蜂鸣器控制" - 0 Error(s), 6 Warning(s).Build target 'Target 1'compiling main.c...MAIN.C(45): error C141: syntax error near '8'MAIN.C(50): error C141: syntax error near '{'MAIN.C(52): error C141: syntax error near 'while'MAIN.C(52): error C141: syntax error near '1'MAIN.C(54): error C221: non-constant case/dim expressionMAIN.C(54): error C141: syntax error near '!=', expected ')'MAIN.C(56): error C141: syntax error near '[', expected ')'MAIN.C(56): error C231: '_Midi': redefinitionMAIN.C(57): error C129: missing ';' before '+='compiling key.c...compiling LedDriver.c...compiling buzzer.c...compiling speaker.c...Target not createdBuild target 'Target 1'compiling main.c...MAIN.C(45): error C141: syntax error near '8'MAIN.C(50): error C141: syntax error near '{'MAIN.C(52): error C141: syntax error near 'while'MAIN.C(52): error C141: syntax error near '1'MAIN.C(54): error C221: non-constant case/dim expressionMAIN.C(54): error C141: syntax error near '!=', expected ')'MAIN.C(56): error C141: syntax error near '[', expected ')'MAIN.C(56): error C231: '_Midi': redefinitionMAIN.C(57): error C129: missing ';' before '+='compiling key.c...compiling LedDriver.c...compiling buzzer.c...compiling speaker.c...Target not createdBuild target 'Target 1'compiling main.c...MAIN.C(45): error C141: syntax error near '8'MAIN.C(51): error C141: syntax error near '{'MAIN.C(53): error C141: syntax error near 'while'MAIN.C(53): error C141: syntax error near '1'MAIN.C(55): error C221: non-constant case/dim expressionMAIN.C(55): error C141: syntax error near '!=', expected ')'MAIN.C(57): error C141: syntax error near '[', expected ')'MAIN.C(57): error C231: '_Midi': redefinitionMAIN.C(58): error C129: missing ';' before '+='compiling key.c...compiling LedDriver.c...compiling buzzer.c...compiling speaker.c...Target not createdBuild target 'Target 1'compiling main.c...MAIN.C(45): error C141: syntax error near '8'MAIN.C(51): error C141: syntax error near '{'MAIN.C(53): error C141: syntax error near 'while'MAIN.C(53): error C141: syntax error near '1'MAIN.C(55): error C221: non-constant case/dim expressionMAIN.C(55): error C141: syntax error near '!=', expected ')'MAIN.C(57): error C141: syntax error near '[', expected ')'MAIN.C(57): error C231: '_Midi': redefinitionMAIN.C(58): error C129: missing ';' before '+='compiling key.c...compiling LedDriver.c...compiling buzzer.c...compiling speaker.c...Target not createdBuild target 'Target 1'compiling main.c...MAIN.C(46): error C141: syntax error near '8'MAIN.C(52): error C141: syntax error near '{'MAIN.C(54): error C141: syntax error near 'while'MAIN.C(54): error C141: syntax error near '1'MAIN.C(56): error C221: non-constant case/dim expressionMAIN.C(56): error C141: syntax error near '!=', expected ')'MAIN.C(58): error C141: syntax error near '[', expected ')'MAIN.C(58): error C231: '_Midi': redefinitionMAIN.C(59): error C129: missing ';' before '+='compiling key.c...compiling LedDriver.c...compiling buzzer.c...compiling speaker.c...Target not createdBuild target 'Target 1'compiling main.c...MAIN.C(46): error C141: syntax error near '8'MAIN.C(53): error C141: syntax error near '{'MAIN.C(55): error C141: syntax error near 'while'MAIN.C(55): error C141: syntax error near '1'MAIN.C(57): error C221: non-constant case/dim expressionMAIN.C(57): error C141: syntax error near '!=', expected ')'MAIN.C(59): error C141: syntax error near '[', expected ')'MAIN.C(59): error C231: '_Midi': redefinitionMAIN.C(60): error C129: missing ';' before '+='compiling key.c...compiling LedDriver.c...compiling buzzer.c...compiling speaker.c...Target not createdBuild target 'Target 1'compiling main.c...compiling key.c...compiling LedDriver.c...compiling buzzer.c...compiling speaker.c...linking...*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?KBHIT?KEY*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?GETKEY?KEY*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?_LEDSETINTERVAL?LEDDRIVER*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?LEDWORK?LEDDRIVER*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?BUZZEROPEN?BUZZER*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?BUZZERCLOSE?BUZZERProgram Size: data=62.0 xdata=0 code=1010creating hex file from "蜂鸣器控制"..."蜂鸣器控制" - 0 Error(s), 6 Warning(s).Build target 'Target 1'compiling main.c...MAIN.C(48): error C141: syntax error near '9'MAIN.C(53): error C141: syntax error near '{'MAIN.C(55): error C141: syntax error near 'while'MAIN.C(55): error C141: syntax error near '1'MAIN.C(57): error C221: non-constant case/dim expressionMAIN.C(57): error C141: syntax error near '!=', expected ')'MAIN.C(59): error C141: syntax error near '[', expected ')'MAIN.C(59): error C231: '_Midi': redefinitionMAIN.C(60): error C129: missing ';' before '+='compiling key.c...compiling LedDriver.c...compiling buzzer.c...compiling speaker.c...Target not createdBuild target 'Target 1'compiling main.c...compiling key.c...compiling LedDriver.c...compiling buzzer.c...compiling speaker.c...linking...*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?KBHIT?KEY*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?GETKEY?KEY*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?_LEDSETINTERVAL?LEDDRIVER*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?LEDWORK?LEDDRIVER*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?BUZZEROPEN?BUZZER*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS    SEGMENT: ?PR?BUZZERCLOSE?BUZZERProgram Size: data=110.0 xdata=0 code=1058creating hex file from "蜂鸣器控制"..."蜂鸣器控制" - 0 Error(s), 6 Warning(s).

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?