Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/20/03 16:44
Read: times


 
#61134 - RE: Eureka
Responding to: ???'s previous message
Oleg, I used code like this.

You could replace the SineTable array by a function name if needed

Just for being understood, the Ind0,1,2 are indices for 3 sine waves to put out on the 3 PWM modules of a RD2 device

// put out the 3 values for pwm
CCAP0H = SineTable[Ind0++];
CCAP1H = SineTable[Ind1++];
CCAP2H = SineTable[Ind2++];

A Merry Christmas to all

Jerson

List of 12 messages in thread
TopicAuthorDate
How can access SFR via lookup table?            01/01/70 00:00      
   RE: How can access SFR via lookup table?            01/01/70 00:00      
      RE: How can access SFR via lookup table?            01/01/70 00:00      
      RE: How can access SFR via lookup table?            01/01/70 00:00      
   RE: How can access SFR via lookup table?            01/01/70 00:00      
      macros indeed!            01/01/70 00:00      
         RE: macros indeed!            01/01/70 00:00      
            RE: macros indeed!            01/01/70 00:00      
      RE: How can access SFR via lookup table?            01/01/70 00:00      
         Eureka            01/01/70 00:00      
            RE: Eureka            01/01/70 00:00      
            RE: Eureka            01/01/70 00:00      

Back to Subject List