• Best way to control a servo?
    Hi, This might be a little OT but I've been exploring a few new ways of controling a servo. I'm using a 8051 board of my own design, a Hitec HS300BB servo and the control line of the servo is connected...
  • one way Serial DasiyChain
    Hi All, I want to daisy chain 256 controllers serially. TX0--->RX1|TX1--->RX2|TX2...->RX255|TX255--->RXPC Each controller has to send a packet of 8bytes to the next controller plus all the data...
  • Efficient way for re-entrancy
    I was wondering why the Keil compiler doesn't allow an option for re-entrancy where some internal RAM is pushed on the stack upon function entry and popped off the stack upon exit. Doing it this way would...
  • Is there a way to suspend warning C280 ?
    The following warnings apears from time to time. MEM_TST.C(41): warning C280: 'mem_DPP': unreferenced local variable Sometimes I want to suspend them, but I can't find how. suspend linker warnings...
  • the best way to shift
    <Code> #define BITS_TO_ROTATE 2 b=(a>>(8-BITS_TO_ROTATE))+(a<<BITS_TO_ROTATE); After lots of research and experimentation we have determined that this is often the best way as it gives the compiler...