• why these codes can't work?
    I want to get a 1000HZ PWM. @15MHz VPB Clock codes like this void ini_pwm() { PINSEL0 =0x02<<14; /* Enable P0.7 as PWM output */ PWMPR=0x00; PWMMCR=0x02; PWMPCR=0x0400; PWMMR0=0x16E360; PWMMR2...
  • Why comdef.h is not working in Keil?
    Dear Sir, Does the comdef.h file not support in KEIL if we build code for stmf070xx type device? With the reference, stackoverflow.com/.../where-can-i-get-comdef-h. kindly tell me why we...
  • Why it not work?
    I use Dallas DS5002,My progrem work good in samll mode,but I compiler it in compact or large mode,it can not work.My progrem data variable is too many,stact is overflow in samll mode.I must use compact...
  • Why doesn't work
    void drawline2(char x1,char y1,char x2,char y2) { char i, deltax, deltay, numpixels; char d, dinc1, dinc2; char x, xinc1, xinc2; char y, yinc1, yinc2; deltax = abs(x2 - x1); deltay = abs...
  • Why doesn't the NOAREGS works?
    #pragma NOAREGS char noaregfunc(char i) using 1 { return i+1; } void main(void) { char ch = noaregfunc(2); } Source code: C_STARTUP: C:0x0000 020011 LJMP C:0011 2: char noaregfunc (char i) using...