Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I have a problem with the Keil C51-Compiler:
If I write
sbit RS = P6^1;
I got the following error:
MAIN.C(8): error C146: 'P6': invalid base address
If I change it to:
sbit RS = P5^1;
it compiles correctly.
In reg517.h P6 is defined as followed:
sfr P6 = 0xFA;
i have problems to read from the modem of Siemens S35i with 19200 baud. The problem is the communication between mikrocontroller and modem works, but if I want to read data from the S35i (for example sms with at+cmgr=0) there are a lot of characters missing.
I use C51-Compiler. For seriell...
Can you tell me why the following Programm prints no value for the temperature via serial port ?
S0CON = 0x5E; /* Ser.- Mode 1, 8bit, 1 Stopbit */
BD = 1; /* Baudrategenerator activ...