....so, nun habe ich alles installiert und wollte den C-Code compilieren aber schon mault das Programm und kennt die CONFIG nicht.....

Code:
#include <htc.h>
#include <stdlib.h>


__CONFIG (0x09E4) ;  // Binary : 00 1001 1110 0100
                     //          0                 : FCMEM=0     -> Fail Safe Clock Monitor Disabled
                     //           0                : IESO=0      -> Internal/External Switchover Disabled
                     //             1              : CLKOUTEN#=1 -> CLOCKOUT Function disabled
                     //              00            : BOREN=00    -> Brownout Detect Disabled
                     //                1           : CPD#=1      -> Data memory code protection disabled
                     //                  1         : CP#=1       -> Program memory code protection disabled
                     //                   1        : MCLRE=1     -> MCLR#/Vpp acts as MCLR#
                     //                    1       : PWRTE#=1    -> Power-up Timer disabled
                     //                     0 0    : WDTE=00     -> Watchdog timer disabled
                     //                        100 : FOSC=100    -> INTOSC Oscillator (31KHz / 500 KHz / 16 MHz)

__CONFIG (0x38EF) ;  // Binary : 11 1000 1110 1111 = 0x38EF
                     //          1                 : LVP=1       -> Low-Voltage Programming enabled
                     //           1                : DEBUG#=1    -> In-CircuitDebugger disabled
                     //             1              : reserved
                     //              0             : BORV=0      -> Brown-Out voltage set to 2.5V
                     //               0            : STVREN=0    -> Stack Overflow will not cause a reset
                     //                0           : PLLEN=0     -> x4 PLL Disabled
                     //                  1110 11   : reserved
                     //                         11 : WRT=11      -> Flash write protection off
.....was könnte falsch sein???