Hallo Bernd,
unter Verwendung von TxJetiEx_V0.9.2.zip habe ich nun die Nummer des Ports übergeben, bekomme jedoch den folgenden Fehler.
"C:\Program Files (x86)\arduino-1.8.5\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -O1 -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=140 -DARDUINO=10805 -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\arduino-1.8.5\hardware\teensy\avr\cores\teensy3" "-IN:\Modellbau\ARDUINO_SKETCHES\libraries\TxJetiEx" "C:\Users\Eckehard\AppData\Local\Temp\arduino_build_843196\sketch\TxJetiEx.ino.cpp" -o "C:\Users\Eckehard\AppData\Local\Temp\arduino_build_843196\sketch\TxJetiEx.ino.cpp.o"
TxJetiEx: In function 'void setup()':
TxJetiEx:28: error: invalid conversion from 'int' to 'TxJetiDecode::enComPort' [-fpermissive]
jetiDecode.Start( 1 ); // for devices with more than one UART (i.e. Teensy): jetiDecode.Start( 1..3 );
^
In file included from N:\Modellbau\ARDUINO_SKETCHES\TxJetiEx\TxJetiEx.ino:21:0:
N:\Modellbau\ARDUINO_SKETCHES\libraries\TxJetiEx/TxJetiExDecode.h:199:20: note: initializing argument 1 of 'void TxJetiDecode::Start(TxJetiDecode::enComPort)'
void Start( enComPort comPort = DEFAULTPORT );
^
Bibliothek TxJetiEx im Ordner: N:\Modellbau\ARDUINO_SKETCHES\libraries\TxJetiEx (legacy) wird verwendet
invalid conversion from 'int' to 'TxJetiDecode::enComPort' [-fpermissive]
Hast Du eine Idee was ich falsch mache?
Ohne Wert kommt es "später" zu einem Fehler:
Compiling libraries...
Compiling library "TxJetiEx"
"C:\Program Files (x86)\arduino-1.8.5\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -Og -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=140 -DARDUINO=10805 -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_GERMAN "-IC:\Program Files (x86)\arduino-1.8.5\hardware\teensy\avr\cores\teensy3" "-IN:\Modellbau\ARDUINO_SKETCHES\libraries\TxJetiEx" "N:\Modellbau\ARDUINO_SKETCHES\libraries\TxJetiEx\TxJetiExDecode.cpp" -o "C:\Users\Eckehard\AppData\Local\Temp\arduino_build_229387\libraries\TxJetiEx\TxJetiExDecode.cpp.o"
"C:\Program Files (x86)\arduino-1.8.5\hardware\teensy/../tools/arm/bin/arm-none-eabi-g++" -c -Og -g -Wall -ffunction-sections -fdata-sections -nostdlib -MMD -fno-exceptions -felide-constructors -std=gnu++14 -fno-rtti -mthumb -mcpu=cortex-m4 -fsingle-precision-constant -D__MK20DX256__ -DTEENSYDUINO=140 -DARDUINO=10805 -DF_CPU=96000000 -DUSB_SERIAL -DLAYOUT_GERMAN "-IC:\Program Files (x86)\arduino-1.8.5\hardware\teensy\avr\cores\teensy3" "-IN:\Modellbau\ARDUINO_SKETCHES\libraries\TxJetiEx" "N:\Modellbau\ARDUINO_SKETCHES\libraries\TxJetiEx\TxJetiExSerial.cpp" -o "C:\Users\Eckehard\AppData\Local\Temp\arduino_build_229387\libraries\TxJetiEx\TxJetiExSerial.cpp.o"
N:\Modellbau\ARDUINO_SKETCHES\libraries\TxJetiEx\TxJetiExSerial.cpp: In member function 'virtual void TxJetiExTeensySerial::Init()':
N:\Modellbau\ARDUINO_SKETCHES\libraries\TxJetiEx\TxJetiExSerial.cpp:59:30: error: 'SERIAL_9O1' was not declared in this scope
m_pSerial->begin( 9600, SERIAL_9O1 );
^
Bibliothek TxJetiEx im Ordner: N:\Modellbau\ARDUINO_SKETCHES\libraries\TxJetiEx (legacy) wird verwendet
Fehler beim Kompilieren für das Board Teensy 3.2 / 3.1.
Hast Du einen Tipp, was ich falschmache?
Danke und Grüße
Eckehard