現在換程式的問題!我以用上面的用lab....做一個exe了!可是弄好會出現以下錯誤
[C:\Users\jaa\Desktop\energia-0101E0015\hardware\tools\msp430\bin\msp430-g++, -c, -Os, -w, -ffunction-sections, -fdata-sections, -mmcu=msp430g2553, -DF_CPU=16000000L, -MMD, -DARDUINO=101, -DENERGIA=15, -IC:\Users\jaa\Desktop\energia-0101E0015\hardware\msp430\cores\msp430, -IC:\Users\jaa\Desktop\energia-0101E0015\hardware\msp430\variants\launchpad, C:\Users\jaa\AppData\Local\Temp\build8808603474989796037.tmp\sketch_jun17a.cpp, -o, C:\Users\jaa\AppData\Local\Temp\build8808603474989796037.tmp\sketch_jun17a.cpp.o]
In file included from C:\Users\jaa\Desktop\energia-0101E0015\hardware\msp430\cores\msp430/Energia.h:264:0,
from sketch_jun17a.ino:24:
C:\Users\jaa\Desktop\energia-0101E0015\hardware\msp430\variants\launchpad/pins_energia.h:60:22: error: redefinition of 'const uint8_t SS'
C:\Users\jaa\Desktop\energia-0101E0015\hardware\msp430\variants\launchpad/pins_energia.h:40:22: error: 'const uint8_t SS' previously defined here
C:\Users\jaa\Desktop\energia-0101E0015\hardware\msp430\variants\launchpad/pins_energia.h:61:22: error: redefinition of 'const uint8_t SCK'
C:\Users\jaa\Desktop\energia-0101E0015\hardware\msp430\variants\launchpad/pins_energia.h:41:22: error: 'const uint8_t SCK' previously defined here
C:\Users\jaa\Desktop\energia-0101E0015\hardware\msp430\variants\launchpad/pins_energia.h:62:22: error: redefinition of 'const uint8_t MOSI'
C:\Users\jaa\Desktop\energia-0101E0015\hardware\msp430\variants\launchpad/pins_energia.h:42:22: error: 'const uint8_t MOSI' previously defined here
C:\Users\jaa\Desktop\energia-0101E0015\hardware\msp430\variants\launchpad/pins_energia.h:63:22: error: redefinition of 'const uint8_t MISO'
C:\Users\jaa\Desktop\energia-0101E0015\hardware\msp430\variants\launchpad/pins_energia.h:43:22: error: 'const uint8_t MISO' previously defined here
C:\Users\jaa\Desktop\energia-0101E0015\hardware\msp430\variants\launchpad/pins_energia.h:64:22: error: redefinition of 'const uint8_t TWISDA'
C:\Users\jaa\Desktop\energia-0101E0015\hardware\msp430\variants\launchpad/pins_energia.h:44:22: error: 'const uint8_t TWISDA' previously defined here
C:\Users\jaa\Desktop\energia-0101E0015\hardware\msp430\variants\launchpad/pins_energia.h:65:22: error: redefinition of 'const uint8_t TWISCL'
C:\Users\jaa\Desktop\energia-0101E0015\hardware\msp430\variants\launchpad/pins_energia.h:45:22: error: 'const uint8_t TWISCL' previously defined here
C:\Users\jaa\Desktop\energia-0101E0015\hardware\msp430\variants\launchpad/pins_energia.h:66:22: error: redefinition of 'const uint8_t DEBUG_UARTRXD'
C:\Users\jaa\Desktop\energia-0101E0015\hardware\msp430\variants\launchpad/pins_energia.h:46:22: error: 'const uint8_t DEBUG_UARTRXD' previously defined here
C:\Users\jaa\Desktop\energia-0101E0015\hardware\msp430\variants\launchpad/pins_energia.h:67:22: error: redefinition of 'const uint8_t DEBUG_UARTTXD'
C:\Users\jaa\Desktop\energia-0101E0015\hardware\msp430\variants\launchpad/pins_energia.h:47:22: error: 'const uint8_t DEBUG_UARTTXD' previously defined here
sketch_jun17a.ino:26:15: error: '::main' must return 'int'
sketch_jun17a.ino:37:15: error: '::main' must return 'int'
junliang 王於 2015年6月16日星期二 UTC+8下午1時48分16秒寫道:
請問在視覺暫留的編碼程式載點已經掛掉了!所以可以請你更換空間分享嗎?謝謝