User Tools

Site Tools


mycnc:timers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
mycnc:timers [2018/04/30 16:38] skirillovmycnc:timers [2018/04/30 16:41] skirillov
Line 46: Line 46:
   gvarset(8101,1);  // Setup Out#1 as Timer0 output   gvarset(8101,1);  // Setup Out#1 as Timer0 output
   gvarset(8102,5);  // Pulse width is 5ms   gvarset(8102,5);  // Pulse width is 5ms
-  gvarset(8101,55); // Pause time is 55ms (Period is 5+55=60ms)+  gvarset(8101,45); // Pause time is 45ms (Period is 5+45=50ms)
  
   gvarset(8100,1);  //Start Timer0   gvarset(8100,1);  //Start Timer0
Line 62: Line 62:
 </code> </code>
  
 +The result is shown on a picture below
  
 {{mycnc:mycnc-timers-example-001.png}} {{mycnc:mycnc-timers-example-001.png}}
  
mycnc/timers.txt · Last modified: 2022/03/07 16:09 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki