besoin d aide svp pour projet émulation nano v3 thrustmaster.

j ai ça mais j ai changé les valeurs sans succès :

//#include "pins_arduino.h" // not necessary in 1.6.3?

byte wheelState [8];
volatile byte pos;

void setup (void) {
DDRB |= B00001011; // digital pins 8,9,11 used as inputs with a pull-up to +VCC
PORTB |= B00001011;

DDRC |= B00111111; // pins 14-19 (A0 - A5) also used as digital inputs
PORTC |= B00111111; // pulled-up to +VCC via internal 100k resistors

DDRD |= B11111011; // digital pins 0,1,3,4,5,6,7 used as inputs
PORTD |= B11111011; // pulled-up to +VCC via internal 100k resistors

wheelState[0] = B00111111; // T500 GT wheel first data byte - 5 buttons
wheelState[1] = B11111111; // second data byte - 8 buttons
wheelState[2] = B11111111; // this and below - not used, but wheelbase reads all 8 bytes...
wheelState[3] = B11111111;
wheelState[4] = B11111111;
wheelState[5] = B11111111;
wheelState[6] = B11111111;
wheelState[7] = B11111111;