In SX Microcontrollers, SX/B Compiler and SX-Key Tool, robsubjavelin wrote:

Hi Bean ,
 

I still use in the first part of the interrupt the __param1,  is there an alternative for that?
Regards

Rob. 

 

 

:PWM_output 'total 13 ticks
  inc   PWM_Count                
  mov   __param1,PWM_Count      
  mov   FSR,#PWM_Value          
  cja   ind,__param1,:PWM_High 
  clrb  PWM_out                 
  jmp   :done_PWM        
                                                                                                                                                                 totaal

:PWM_High 'totaal 2
  setb  PWM_out          
  NOP               

                                                                                                                                             
:done_PWM

---------- End of Message ----------


You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=150806#m150979

Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com

The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)