BUILD SUCCEEDED:樣算建檔成功嗎?
|
||||
---|---|---|---|---|
新會員
|
各位前輩你好
執行下列app23實驗版30f4011的pwm程式 int main( void ) { ADC10_Initial( ) ; OpenLCD( ) ; MotPWM_Initial( ) ; CTRL_LED7 = 0 ; Flags.Word = 0 ; putrsLCD("Ex4:ADC Trigger ") ; setcurLCD(0,1) ; putrsLCD("PWM Trig AD= ") ; SEVTCMP = 250 ; while (1) { while ( Flags.AD_DONE == 0 ) ; Flags.AD_DONE = 0 ; PDC1 = ((long)ADC_Buf * 736 )/512 ; setcurLCD(12,1) ; putrsLCD(" ") ; setcurLCD(12,1) ; uitoa( ASCII_Buf , ADC_Buf ); putsLCD(ASCII_Buf) ; Delay_123( ) ; } } 結果出現 Clean: Deleting intermediary and output files. Clean: Deleted file "D:\motor control\8. MPWM\ADC_PWM\ADC_PWM.o". Clean: Deleted file "D:\motor control\8. MPWM\ADC_PWM\C30EVM_LCD.o". Clean: Deleted file "D:\motor control\8. MPWM\ADC_PWM\EX1_PWM.cof". Clean: Deleted file "D:\motor control\8. MPWM\ADC_PWM\EX1_PWM.hex". Clean: Deleted file "D:\motor control\8. MPWM\ADC_PWM\EX1_PWM.mcs". Clean: Done. Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F4011 -c -x c "ADC_PWM.c" -o"ADC_PWM.o" -g ADC_PWM.c: In function 'main': ADC_PWM.c:81: warning: pointer targets in passing argument 1 of 'putsLCD' differ in signedness Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F4011 -c -x c "C30EVM_LCD.c" -o"C30EVM_LCD.o" -g Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -Wl,"D:\motor control\8. MPWM\ADC_PWM\ADC_PWM.o","D:\motor control\8. MPWM\ADC_PWM\C30EVM_LCD.o","C:\Program Files\Microchip\MPLAB C30\lib\libp30F4011-coff.a",-L"C:\Program Files\Microchip\MPLAB C30\lib",--script="C:\Program Files\Microchip\MPLAB C30\support\gld\p30f4011.gld",--defsym=__ICD2RAM=1,-Map="EX1_PWM.map",-o"EX1_PWM.cof" Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-bin2hex.exe" "D:\motor control\8. MPWM\ADC_PWM\EX1_PWM.cof" Loaded D:\motor control\8. MPWM\ADC_PWM\EX1_PWM.cof. BUILD SUCCEEDED: Sat Jun 14 17:56:27 2008 其中 ADC_PWM.c: In function 'main': ADC_PWM.c:81: warning: pointer targets in passing argument 1 of 'putsLCD' differ in signedness 是何問題請各位大大幫忙 這樣算建檔成功嗎? 謝謝感激萬分 明欽
發表於: 2008/6/15 18:03
|
|||
|