Elvis75 0 Posted July 18, 2008 Report Share Posted July 18, 2008 Hi all, Could somebody tell me what this is setting up at the top of the example Ecio code? #pragma DATA 0x300000, 0x20 #pragma DATA 0x300001, 0xe #pragma DATA 0x300002, 0x3e #pragma DATA 0x300003, 0x1e #pragma DATA 0x300004, 0x0 #pragma DATA 0x300005, 0x81 #pragma DATA 0x300006, 0x81 #pragma DATA 0x300007, 0x0 #pragma DATA 0x300008, 0xf #pragma DATA 0x300009, 0x80 #pragma DATA 0x30000a, 0xf #pragma DATA 0x30000b, 0xa0 #pragma DATA 0x30000c, 0xf #pragma DATA 0x30000d, 0x0 Cheers Elvis75 Quote Link to post Share on other sites
Reynard 0 Posted July 18, 2008 Report Share Posted July 18, 2008 These are the configuration data for your PIC. Check out the header file for the details. #define _CONFIG1L 0x00300000 #define _CONFIG1H 0x00300001 #define _CONFIG2L 0x00300002 #define _CONFIG2H 0x00300003 #define _CONFIG3H 0x00300005 #define _CONFIG4L 0x00300006 #define _CONFIG5L 0x00300008 #define _CONFIG5H 0x00300009 #define _CONFIG6L 0x0030000A #define _CONFIG6H 0x0030000B #define _CONFIG7L 0x0030000C #define _CONFIG7H 0x0030000D Cheers Reynard Quote Link to post Share on other sites
Elvis75 0 Posted July 18, 2008 Author Report Share Posted July 18, 2008 Hi, Sorted. Thanks Elvis 75 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.