You are not logged in.

SKRS Shifter programmieren

Antworten im Thema: 3 » Der letzte Beitrag (Apr 3rd 2017, 6:53am) ist von Ansa.

Dear visitor, welcome to Trucksimulator24 - Die freundliche Trucksimulator Community rund um den Euro Truck Simulator 2, Euro Trucksimulator, German Truck Simulator, 18 Wheels of Steel Reihe, Extreme Trucker und den ZModeler.. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Ansa

Sprinter-Fahrer

  • "Ansa" started this thread

Posts: 3

  • Send private message

1

Tuesday, January 24th 2017, 5:16pm

SKRS Shifter programmieren

Hallo,
bei meinem SKRS Shifter ist der Teensy LC Controller ausgefallen.
Ich habe mir einen neuen besorgt, kann aber mit dem Arduino-Programm nichts anfangen.
Kann vielleicht jemand seinen Controller auslesen und mir den Code übermitteln?
Danke, Andreas
ansa011@freenet.de

Ansa

Sprinter-Fahrer

  • "Ansa" started this thread

Posts: 3

  • Send private message

2

Friday, March 3rd 2017, 9:49pm

Problem erledigt, habe es selber hinbekommen.

fsimon

Legende

  • "fsimon" is male
  • »fsimon« is a verified user

Posts: 658

Location: Gettorf (bei Kiel)

Thanks: 80

  • Send private message

3

Friday, March 3rd 2017, 11:36pm

Und wie?
Wäre für andere evtl. interessant.

Ansa

Sprinter-Fahrer

  • "Ansa" started this thread

Posts: 3

  • Send private message

4

Monday, April 3rd 2017, 6:53am

Hallo,
Entschuldigung für die späte Antwort.
Hier der Sketch:

Spoiler Spoiler


#include <Bounce.h>
Bounce button0 = Bounce(0, 10);
Bounce button1 = Bounce(1, 10);

void setup() {

pinMode(0, INPUT_PULLUP);
pinMode(1, INPUT_PULLUP);
}

void loop() {

button0.update();
button1.update();


if (button0.fallingEdge()) {
Joystick.button(1, 1);
}

if (button1.fallingEdge()) {
Joystick.button(2, 1);
}

if (button0.risingEdge()) {
Joystick.button(1, 0);
}

if (button1.risingEdge()) {
Joystick.button(2, 0); }
}





Gruß Ansa

Social bookmarks

Counter:

Hits today: 33,184 | Hits yesterday: 104,298 | Hits record: 213,546 | Hits total: 81,027,455 | Average hits: 27,531.05

Clicks today: 41,357 | Clicks yesterday: 151,126 | Clicks record: 756,082 | Clicks total: 495,785,293 | Clicks avarage: 168,455.13 | Counts since: May 3rd 2011, 7:40am

Ungelesene Beiträge Unbeantwortete Themen Themen der letzten 24 Stunden

Euro Truck Simulator,Euro Truck Simulator 2,German Truck Simulator,Forum,Community,Downloads,Support,Euro Trucksimulator,Euro Trucksimulator 2,German Trucksimulator,Trucks,18 Wheels of Steel,Haulin,Convoy,Pttm,Long Haul,Trucksimulator,Trucksimulation,Truck Simulator,Simulation,ATS,Trucksim,Extreme Trucker 2,ETS,ETS2,GTS,UKTS,ET,ET2,18WoS,Tutorial,Tutorials,Tipp,Zmodeler,z3d,Modding,SCS,simulation,support, Zmod,z3d,Sk,Skins,Map,Maps,Mod,Mods,Trucksims,STD,Scania Truck Driving Simulator,Scania,ETS2Mods, Euro Trucksimulator2 Mods