⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 motor_pwm.plg

📁 由单片机8951来控制 c语言编写 具有实现正转反转 加速减速 采用PWM调制的方法
💻 PLG
📖 第 1 页 / 共 2 页
字号:
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  MORTOR_TURN
    MODULE:  motor.obj (MOTOR)
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  MORTOR_SPEED_LOW
    MODULE:  motor.obj (MOTOR)
    ADDRESS: 00A2H
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  MORTOR_SPEED_HIGH
    MODULE:  motor.obj (MOTOR)
    ADDRESS: 00A5H
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  MORTOR_TURN
    MODULE:  motor.obj (MOTOR)
    ADDRESS: 00A8H
Program Size: data=12.1 xdata=0 code=196
creating hex file from "motor_pwm"...
"motor_pwm" - 0 Error(s), 10 Warning(s).
Build target 'Target 1'
compiling motor.C...
MOTOR.C(114): warning C206: 'Mortor_speed_low': missing function-prototype
MOTOR.C(115): warning C206: 'Mortor_speed_high': missing function-prototype
MOTOR.C(116): warning C206: 'Mortor_turn': missing function-prototype
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?INIT?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_SPEED_HIGH?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_SPEED_LOW?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_TURN?MOTOR
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  MORTOR_SPEED_HIGH
    MODULE:  motor.obj (MOTOR)
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  MORTOR_SPEED_LOW
    MODULE:  motor.obj (MOTOR)
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  MORTOR_TURN
    MODULE:  motor.obj (MOTOR)
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  MORTOR_SPEED_LOW
    MODULE:  motor.obj (MOTOR)
    ADDRESS: 00A2H
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  MORTOR_SPEED_HIGH
    MODULE:  motor.obj (MOTOR)
    ADDRESS: 00A5H
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  MORTOR_TURN
    MODULE:  motor.obj (MOTOR)
    ADDRESS: 00A8H
Program Size: data=12.1 xdata=0 code=196
creating hex file from "motor_pwm"...
"motor_pwm" - 0 Error(s), 13 Warning(s).
Build target 'Target 1'
compiling motor.C...
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?INIT?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_SPEED_HIGH?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_SPEED_LOW?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_TURN?MOTOR
Program Size: data=12.1 xdata=0 code=187
creating hex file from "motor_pwm"...
"motor_pwm" - 0 Error(s), 4 Warning(s).
Build target 'Target 1'
compiling motor.C...
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_SPEED_HIGH?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_SPEED_LOW?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_TURN?MOTOR
Program Size: data=12.1 xdata=0 code=186
creating hex file from "motor_pwm"...
"motor_pwm" - 0 Error(s), 3 Warning(s).
Build target 'Target 1'
compiling motor.C...
MOTOR.C(63): error C202: 'big_pwm': undefined identifier
MOTOR.C(66): error C202: 'big_pwm': undefined identifier
MOTOR.C(75): error C202: 'big_pwm': undefined identifier
MOTOR.C(82): error C202: 'small_pwm': undefined identifier
MOTOR.C(85): error C202: 'small_pwm': undefined identifier
MOTOR.C(94): error C202: 'small_pwm': undefined identifier
MOTOR.C(101): error C202: 'turn_direction': undefined identifier
MOTOR.C(104): error C202: 'turn_direction': undefined identifier
MOTOR.C(108): error C202: 'turn_direction': undefined identifier
Target not created
Build target 'Target 1'
compiling motor.C...
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?_DELAY?MOTOR
Program Size: data=12.1 xdata=0 code=111
creating hex file from "motor_pwm"...
"motor_pwm" - 0 Error(s), 1 Warning(s).
Build target 'Target 1'
compiling motor.C...
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?_DELAY?MOTOR
Program Size: data=12.1 xdata=0 code=111
creating hex file from "motor_pwm"...
"motor_pwm" - 0 Error(s), 1 Warning(s).
Build target 'Target 1'
compiling motor.C...
MOTOR.C(123): error C202: 'small_pwm': undefined identifier
Target not created
Build target 'Target 1'
compiling motor.C...
MOTOR.C(123): error C202: 'small_owm': undefined identifier
Target not created
Build target 'Target 1'
compiling motor.C...
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?_DELAY?MOTOR
Program Size: data=12.1 xdata=0 code=113
creating hex file from "motor_pwm"...
"motor_pwm" - 0 Error(s), 1 Warning(s).
Build target 'Target 1'
compiling motor.C...
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?INIT?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_SPEED_HIGH?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_SPEED_LOW?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_TURN?MOTOR
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  MORTOR_SPEED_HIGH
    MODULE:  motor.obj (MOTOR)
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  MORTOR_SPEED_LOW
    MODULE:  motor.obj (MOTOR)
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  MORTOR_TURN
    MODULE:  motor.obj (MOTOR)
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  MORTOR_SPEED_LOW
    MODULE:  motor.obj (MOTOR)
    ADDRESS: 00A2H
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  MORTOR_SPEED_HIGH
    MODULE:  motor.obj (MOTOR)
    ADDRESS: 00A5H
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  MORTOR_TURN
    MODULE:  motor.obj (MOTOR)
    ADDRESS: 00A8H
Program Size: data=12.1 xdata=0 code=196
creating hex file from "motor_pwm"...
"motor_pwm" - 0 Error(s), 10 Warning(s).
Build target 'Target 1'
compiling motor.C...
motor.C(1): warning C318: can't open file 'reg201.h'
MOTOR.C(6): error C202: 'P1': undefined identifier
MOTOR.C(7): error C202: 'P1': undefined identifier
MOTOR.C(8): error C202: 'P1': undefined identifier
MOTOR.C(9): error C202: 'P1': undefined identifier
MOTOR.C(10): error C202: 'P1': undefined identifier
MOTOR.C(32): error C202: 'TMOD': undefined identifier
MOTOR.C(33): error C202: 'PCON': undefined identifier
MOTOR.C(34): error C202: 'TF0': undefined identifier
MOTOR.C(35): error C202: 'TH0': undefined identifier
MOTOR.C(36): error C202: 'TL0': undefined identifier
MOTOR.C(37): error C202: 'ET0': undefined identifier
MOTOR.C(38): error C202: 'TR0': undefined identifier
MOTOR.C(39): error C202: 'EA': undefined identifier
MOTOR.C(66): error C202: 'big_pwm': undefined identifier
MOTOR.C(69): error C202: 'big_pwm': undefined identifier
MOTOR.C(78): error C202: 'big_pwm': undefined identifier
MOTOR.C(85): error C202: 'small_pwm': undefined identifier
MOTOR.C(88): error C202: 'small_pwm': undefined identifier
MOTOR.C(97): error C202: 'small_pwm': undefined identifier
MOTOR.C(104): error C202: 'turn_direction': undefined identifier
MOTOR.C(107): error C202: 'turn_direction': undefined identifier
MOTOR.C(111): error C202: 'turn_direction': undefined identifier
MOTOR.C(131): error C202: 'DR': undefined identifier
MOTOR.C(139): error C202: 'PWM': undefined identifier
MOTOR.C(141): error C202: 'PWM': undefined identifier
Target not created
Build target 'Target 1'
compiling motor.C...
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?INIT?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_SPEED_HIGH?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_SPEED_LOW?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_TURN?MOTOR
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  MORTOR_SPEED_HIGH
    MODULE:  motor.obj (MOTOR)
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  MORTOR_SPEED_LOW
    MODULE:  motor.obj (MOTOR)
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  MORTOR_TURN
    MODULE:  motor.obj (MOTOR)
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  MORTOR_SPEED_LOW
    MODULE:  motor.obj (MOTOR)
    ADDRESS: 00A2H
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  MORTOR_SPEED_HIGH
    MODULE:  motor.obj (MOTOR)
    ADDRESS: 00A5H
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  MORTOR_TURN
    MODULE:  motor.obj (MOTOR)
    ADDRESS: 00A8H
Program Size: data=12.1 xdata=0 code=198
creating hex file from "motor_pwm"...
"motor_pwm" - 0 Error(s), 10 Warning(s).
Build target 'Target 1'
compiling motor.C...
motor.C(1): warning C318: can't open file 'reg201.h'
MOTOR.C(6): error C202: 'P1': undefined identifier
MOTOR.C(7): error C202: 'P1': undefined identifier
MOTOR.C(8): error C202: 'P1': undefined identifier
MOTOR.C(9): error C202: 'P1': undefined identifier
MOTOR.C(10): error C202: 'P1': undefined identifier
MOTOR.C(32): error C202: 'TMOD': undefined identifier
MOTOR.C(33): error C202: 'PCON': undefined identifier
MOTOR.C(34): error C202: 'TF0': undefined identifier
MOTOR.C(35): error C202: 'TH0': undefined identifier
MOTOR.C(36): error C202: 'TL0': undefined identifier
MOTOR.C(37): error C202: 'ET0': undefined identifier
MOTOR.C(38): error C202: 'TR0': undefined identifier
MOTOR.C(39): error C202: 'EA': undefined identifier
MOTOR.C(66): error C202: 'big_pwm': undefined identifier
MOTOR.C(69): error C202: 'big_pwm': undefined identifier
MOTOR.C(78): error C202: 'big_pwm': undefined identifier
MOTOR.C(85): error C202: 'small_pwm': undefined identifier
MOTOR.C(88): error C202: 'small_pwm': undefined identifier
MOTOR.C(97): error C202: 'small_pwm': undefined identifier
MOTOR.C(104): error C202: 'turn_direction': undefined identifier
MOTOR.C(107): error C202: 'turn_direction': undefined identifier
MOTOR.C(111): error C202: 'turn_direction': undefined identifier
MOTOR.C(131): error C202: 'DR': undefined identifier
MOTOR.C(139): error C202: 'PWM': undefined identifier
MOTOR.C(141): error C202: 'PWM': undefined identifier
Target not created
Build target 'Target 1'
compiling motor.C...
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?INIT?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_SPEED_HIGH?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_SPEED_LOW?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_TURN?MOTOR
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  MORTOR_SPEED_HIGH
    MODULE:  motor.obj (MOTOR)
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  MORTOR_SPEED_LOW
    MODULE:  motor.obj (MOTOR)
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  MORTOR_TURN
    MODULE:  motor.obj (MOTOR)
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  MORTOR_SPEED_LOW
    MODULE:  motor.obj (MOTOR)
    ADDRESS: 00A2H
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  MORTOR_SPEED_HIGH
    MODULE:  motor.obj (MOTOR)
    ADDRESS: 00A5H
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  MORTOR_TURN
    MODULE:  motor.obj (MOTOR)
    ADDRESS: 00A8H
Program Size: data=12.1 xdata=0 code=198
creating hex file from "motor_pwm"...
"motor_pwm" - 0 Error(s), 10 Warning(s).
Build target 'Target 1'
compiling motor.C...
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?INIT?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_SPEED_HIGH?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_SPEED_LOW?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_TURN?MOTOR
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  MORTOR_SPEED_HIGH
    MODULE:  motor.obj (MOTOR)
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  MORTOR_SPEED_LOW
    MODULE:  motor.obj (MOTOR)
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  MORTOR_TURN
    MODULE:  motor.obj (MOTOR)
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  MORTOR_SPEED_LOW
    MODULE:  motor.obj (MOTOR)
    ADDRESS: 00A2H
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  MORTOR_SPEED_HIGH
    MODULE:  motor.obj (MOTOR)
    ADDRESS: 00A5H
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  MORTOR_TURN
    MODULE:  motor.obj (MOTOR)
    ADDRESS: 00A8H
Program Size: data=12.1 xdata=0 code=198
creating hex file from "motor_pwm"...
"motor_pwm" - 0 Error(s), 10 Warning(s).
Build target 'Target 1'
compiling motor.C...
linking...
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?INIT?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_SPEED_HIGH?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_SPEED_LOW?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
    SEGMENT: ?PR?MOTOR_TURN?MOTOR
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  MORTOR_SPEED_HIGH
    MODULE:  motor.obj (MOTOR)
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  MORTOR_SPEED_LOW
    MODULE:  motor.obj (MOTOR)
*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL
    SYMBOL:  MORTOR_TURN
    MODULE:  motor.obj (MOTOR)
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  MORTOR_SPEED_LOW
    MODULE:  motor.obj (MOTOR)
    ADDRESS: 00A4H
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  MORTOR_SPEED_HIGH
    MODULE:  motor.obj (MOTOR)
    ADDRESS: 00A7H
*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL
    SYMBOL:  MORTOR_TURN
    MODULE:  motor.obj (MOTOR)
    ADDRESS: 00AAH
Program Size: data=12.1 xdata=0 code=200
creating hex file from "motor_pwm"...
"motor_pwm" - 0 Error(s), 10 Warning(s).

⌨️ 快捷键说明

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