When i'm not include DEFINE OSC 8 ( with xtal 8Mhz ) , test with blink LED is so fast .
but when include ( the same xtal ) , the time between Led-On and Led-Off so long .
Maybe define osc will slow down the speed of PIC ?
I used 18F4680 . DS 1820 had an resistor pull-up .I have tried
1-DS1820 work well with 10 Mhz xtal , config OSC_HS , not define osc 10
2-but with the same xtal , config OSC_HSPLL , DS1820 didn't work . not define osc 10 OR define i got the same result .
who can help me ?





Bookmarks