This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

PWM signals generated via the CCU unit

I am using the LPC900 PWM using CCU example programme, and I have a problem finding the relation between the brightness of the LED and the value of the registers OCRAH:OCRAL.

I don't understand why a value of 0x000F in OCRAH:OCRAL gives a brightness of 25% as mentionned in the code. Could someone explain it to me?

thanks in advance

Parents
  • using CCU example programme, ... I don't understand

    neither do I, since i have no idea what the "CCU example programme" is.

    There is a remote chance that I might help if you gave a link to the code and a line number or such to where " gives a brightness of 25% as mentionned in the code" is.

    Of course I know it is my duty to, for free, hunt up every obscure reference anyone makes, but today my paying job interfer with that.

    Erik

Reply
  • using CCU example programme, ... I don't understand

    neither do I, since i have no idea what the "CCU example programme" is.

    There is a remote chance that I might help if you gave a link to the code and a line number or such to where " gives a brightness of 25% as mentionned in the code" is.

    Of course I know it is my duty to, for free, hunt up every obscure reference anyone makes, but today my paying job interfer with that.

    Erik

Children