• 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 SMOD does not work
    When I configure uart communication of ADE7169 device(enhanced 8052 core),I encountered a problem that comment out or not the code (MOV PCON,#80H ;Here is not wor)(line 5) does not affect uart's baud...