• DAC module issue (89LPC935)
    I wrote a simple code for output both channels to an osciloscope. But DAC module 0 P2.0 waveform(sawtooth) is much distorted. The other DAC module 1 (P0.4) outputs a perfect sawtooth. Any ideas (?) By...
  • Initialising Structures
    Hello, I am using the PK51 package. My program requires a structure of arrays. The following files are used:- 1) declare.c For defining the global variables 2) declare.h Containing the extern definations...
  • Initialisation of variables
    Hello ! By default, any C variables are cleared to zero on startup. However, I desired for some data that they are not be cleared on startup. How can I do this ? Thanks Michael
  • no initialisation of external memory
    hello, I use some external memory (xdata) for saving some information in external ram (with battery) before a shut off of my application, but when I switch on the application all my xdata are set...
  • Initialisation of stack pointer
    How do I initialise the stack pointer location to a memory location 0x80 instead of the default memory location. Also how do i set the stack pointer to point to xdata locations. I have tried to set...