hallo leute,
ich denke ich habs rausgefunden:
ich verstehs nur nicht ganz, kann mir das jemand erklaeren bitte? sonst schaue ich nach das geht auch.Code:CMCON = 0b00000111; // Disable Comparator module's // Disable pull-ups // INT on rising edge // TMR0 to CLKOUT // TMR0 Incr low2high trans. // Prescaler assign to Timer0 // Prescaler rate is 1:256 OPTION_REG = 0b11010111; // Set PIC options (see datasheet). INTCON = 0; // Disable interrupts.
danke trotzdem.
gruss
msp
Lesezeichen