Hi, How can I config the UCFG1 ( system configuration for clock, watchdog enz ) for a LPC controller in C ? And how can I use the 32 bytes eprom ? I tried the following but the compiler returnes an error //xdata char _at_ 0x10 ; //xdata char UCFG1 _at_ 0xFD00 = 6; //xdata char UCFG1 = 8 _at_ 0xFD00; //xdata char UCFG1 _at_ 0xFD00 = 0x7B; //pdata const UCFG1 _at_ 0xFD00=4; //pdata const UCFG1 _at_ 0xFD00; //UCFG1=222;// not an error here // but it does't work either thanx! geert
When posting code to the forum, please enclose it within <pre> and </pre> tags (it gives you a monospaced font, and that lovely tuquoise tint!) Are you complaining about my lovely turquoise tint? :-) Jon