Hello!
I have problem with configuration of UART_1 on at89c51re2 micro controller I supposed that is because I am using a at89c51xd2.h header file which does not include definition for UART_1. When I try to define Sbit (ES1 , 0xB1, 3); in IEN1 (0xB1) register i receive error message error C142: 'SFR': invalid base address.
Any help?
Thanks in advance
I have problem with configuration of UART_1 on at89c51re2 micro controller I supposed that is because I am using a at89c51xd2.h header file which does not include definition for UART_1 1) why do you select 251 for a '51 chip? 2) make copy of whatever file you are using, rename it and add the SFRs you miss.
Erik
1. I made error when I had selected C251, it should be C51. If 2.) is in relationship with 1.) I think that now you understand that is not a problem because I selected MCU Architecture C251 when posted message.