I have an problem with my code, it has to read the registers of the microcontroller and then store it in ddrThe place of the code is indicated with bold lettertype. I have been looking in the datasheet of the Microcontroller and I couldn't find anything. Microcontroller = Fujitsu MB90495 FamilyCode:char leesOutput( char nummer ) { unsigned char ddr[4]; char output = 0; /*DDR Variable with Registers*/ switch( nummer ) { case 1: // Out 1 output = ( ddr[ 0 ] >> 0 ) & 0x01; break; case 2: // Out 2 output = ( ddr[ 0 ] >> 1 ) & 0x01; break; case 3: // Out 3 output = ( ddr[ 0 ] >> 2 ) & 0x01; break; case 4: // Out 4 output = ( ddr[ 0 ] >> 3 ) & 0x01; break; case 5: // Out 5 output = ( ddr[ 0 ] >> 4 ) & 0x01; break; case 6: // Out 6 output = ( ddr[ 0 ] >> 5 ) & 0x01; break; case 7: // Out 7 output = ( ddr[ 0 ] >> 6 ) & 0x01; break; case 8: // Out 8 output = ( ddr[ 0 ] >> 7 ) & 0x01; break; case 9: // Out 9 output = ( ddr[ 2 ] >> 7 ) & 0x01; break; case 10: // Out 10 output = ( ddr[ 2 ] >> 6 ) & 0x01; break; case 11: // Out 11 output = ( ddr[ 2 ] >> 5 ) & 0x01; break; case 12: // Out 12 output = ( ddr[ 2 ] >> 4 ) & 0x01; break; } return output; }