Computers
2013. 8. 1. 22:22
http://www.picbasic.co.uk/forum/showthread.php?t=7393
More on BAM ...
http://www.artisticlicence.com/app%20notes/appnote011.pdf<!-- BitAngleModulation.pdf -->
Bit Angle Modulation (BAM) in a PIC
<table><tr><td>PWM (Pulse Width Modulation) has 2 periods per cycle.
There's the period when the output is HIGH, and the period when it is LOW.
There will always be only 2 periods, and together they add up to the time it takes for 1 complete cycle. The ratio of the "ON" time to the total Cycle time defines the DutyCycle. (Corrected by The Borg)
BAM (Bit Angle Modulation) has as many periods as there are Bits in the Resolution. For instance, 8-bit resolution (0-255) would have8 periods per cycle.
Each Period has a duration that corresponds to the Bit number, with each period being half as long as the previous one.