• 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
  • Cannot use an initialised array
    Dear Sir! I am unable to use an initialised array. The array gets initialised but whn it is used in a function it does not give the proper values. What could be the reason. Please tell me.
  • 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...