??? 10/09/06 17:04 Read: times |
#126068 - I rest my case, m'lud Responding to: ???'s previous message |
Russ Cooper said:
I mean, suppose somebody actually did it, and it was really possible to write something like the following and just know that it would work: #define VARIANT SILABS_C8051F120 #include "8051api.h" void main() { InitializeUART0(BAUD_9600); StringToUART0("Hello, Attila"); }Wouldn't that be a liberating change from the endless farting around with SFRs that we do now? But doesn't that just illustrate the inherent problem? The example shows just one configuration option - the baud rate. What about: With so many options for something as "simple" as this, I think coping with them all would be more trouble than just writing the code from scratch! http://www.8052.com/forum/read.phtml?id=126062 |