• C++: Global classes: prefer static data or not?
    Hi, very sorry if this question should be too picky ... . I have quite a bit of large "global classes" in my multi-module C++ software. (I mean a class without constructor/destructor, which is used...
  • Any preference for serial comm bus type?
    Any reason to chose one type of serial communications bus over another? I am looking at an Atmel part that has SPI bus. My first application is for uC to EEPROM or FLASH memory only. Future applications...
  • reading Sbuf
    Hello, in my project work I want to read serially received data continuously and compare it with stored ID in MCU I am using 8051. If the ID match then Green LED will glow, for ID mismatch Orange LED...
  • simulation of sbuf
    SBUF is not a regular register: when you write to it you send a character on the serial line, and when you read it you empty the serial line buffer Keil simulates sbuf like if it was a normal variable...
  • Simulation and sbuf
    Is there any way to send a value to the read-only part of sbuf in simulation? I tried changing it on the serial channel but it only affects the write-only(or it seems)