Can I simulate the output pin of a PWM channel using the Logic Analyzer in KEIL simulator?
Thanx, I did exactly what you have told me from the right begining but it doesn't work. But now I know why, it because i thought that the values in the MASK field are binary not hexadecimal :)
Thank you again
Binary or hexadecimal?
A value is always a number. You may then choose to represent the number in decimal, hexadecimal or octal form. A few compilers has also added the non-standard extension of allowin a binary representation.
But whatever representation that is used in the source code, the value still represents the same number.