求助:stc8h8k64u 硬件pwm
请问stc8h8k64u 硬件pwm 与pwm相关寄存器全部未定义 是缺少了哪个头文件或者是缺少了哪个定义呢 谢谢main.c(557): error C202: 'p_sw2': undefined identifier
main.c(558): error C202: 'PWM1_CCER2': undefined identifier
main.c(559): error C202: 'PWM1_CCMR4': undefined identifier
main.c(560): error C202: 'PWM1_CCER2': undefined identifier
main.c(564): error C202: 'PWM1_CCR4': undefined identifier
main.c(565): error C202: 'PWM1_ARR': undefined identifier
main.c(569): error C202: 'PWM1_CCR4': undefined identifier
main.c(570): error C202: 'PWM1_ARR': undefined identifier
main.c(574): error C202: 'PWM1_CCR4': undefined identifier
main.c(575): error C202: 'PWM1_ARR': undefined identifier
main.c(577): error C202: 'PWM1_ENO': undefined identifier
main.c(578): error C202: 'PWM1_BKR': undefined identifier
main.c(579): error C202: 'PWM1_CR1': undefined identifier
用最新的ISP软件里的头文件, #include "STC8H.H"
未包含头文件,在ISP软件中下载最新头文件 小白非常感谢各位大佬们,请问如图调试573 574行为啥加不了断点,程序也进不去。而下面的579 580就可以呢
再次感谢
页:
[1]