PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : PhantomX Hexapod Phoenix Code



Ownnemesis
31.08.2015, 09:30
Hallo.
Ich versuche grade die ps2lib zu verwenden. Allerdings bekomme ich immer einen fehler angezeigt.

Arduino: 1.6.5 (Windows 7), Platine: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

Build-Optionen wurden verändert, alles wird neu gebaut

Verwende die Bibliothek EEPROM im Ordner: C:\Program Files\Arduino\hardware\arduino\avr\libraries\EEPRO M

Verwende die Bibliothek PS2X_lib im Ordner: C:\Users\flo\Documents\Arduino\libraries\PS2X_lib (legacy)

Verwende die Bibliothek SoftwareSerial im Ordner: C:\Program Files\Arduino\hardware\arduino\avr\libraries\Softw areSerial

Verwende die Bibliothek Phoenix im Ordner: C:\Users\flo\Documents\Arduino\libraries\Phoenix (legacy)

Verwende die Bibliothek Phoenix_Input_PS2 im Ordner: C:\Users\flo\Documents\Arduino\libraries\Phoenix_I nput_PS2 (legacy)

Verwende die Bibliothek Phoenix_Driver_SSC32 im Ordner: C:\Users\flo\Documents\Arduino\libraries\Phoenix_D river_SSC32 (legacy)



C:\Program Files\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files\Arduino\hardware\arduino\avr\variants\mega -IC:\Program Files\Arduino\hardware\arduino\avr\libraries\EEPRO M -IC:\Users\flo\Documents\Arduino\libraries\PS2X_lib -IC:\Program Files\Arduino\hardware\arduino\avr\libraries\Softw areSerial -IC:\Users\flo\Documents\Arduino\libraries\Phoenix -IC:\Users\flo\Documents\Arduino\libraries\Phoenix_ Input_PS2 -IC:\Users\flo\Documents\Arduino\libraries\Phoenix_ Driver_SSC32 C:\Users\flo\AppData\Local\Temp\build3966303384466 222980.tmp\THex4_PS2_SSC32.cpp -o C:\Users\flo\AppData\Local\Temp\build3966303384466 222980.tmp\THex4_PS2_SSC32.cpp.o

In file included from THex4_PS2_SSC32.ino:31:0:
C:\Users\flo\AppData\Local\Temp\build3966303384466 222980.tmp\Hex_Cfg.h:289:8: warning: extra tokens at end of #endif directive [enabled by default]
#endif CFG_HEX_H
^
In file included from THex4_PS2_SSC32.ino:28:0:
C:\Users\flo\Documents\Arduino\libraries\PS2X_lib/PS2X_lib.h: In member function 'virtual void InputController::ControlInput()':
C:\Users\flo\Documents\Arduino\libraries\PS2X_lib/PS2X_lib.h:181:6: error: 'void PS2X::reconfig_gamepad()' is private
void reconfig_gamepad();
^
In file included from THex4_PS2_SSC32.ino:33:0:
C:\Users\flo\Documents\Arduino\libraries\Phoenix_I nput_PS2/Phoenix_Input_PS2.h:468:27: error: within this context
ps2x.reconfig_gamepad();
^
In file included from THex4_PS2_SSC32.ino:34:0:
C:\Users\flo\Documents\Arduino\libraries\Phoenix_D river_SSC32/Phoenix_Driver_SSC32.h: In member function 'uint8_t ServoDriver::GPNumSteps()':
C:\Users\flo\Documents\Arduino\libraries\Phoenix_D river_SSC32/Phoenix_Driver_SSC32.h:254:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
cbRead = SSCRead((byte*)bGPCntSteps, sizeof(bGPCntSteps), 10000, (word)-1); // Try to get the pointer to sequence
^
Fehler beim Kompilieren.

kann mir da wer weiter helfen?
ich nutze die neuste ide. also 1.6.5