Help for this page

Select Code to Download


  1. or download this
        # base   range   clck     operational freq
        19.2e6 / 1024  /  32   ==     586Hz
    
  2. or download this
        19.2e6 / 2000 / 192 == 50Hz
    
  3. or download this
    use warnings;
    use strict;
    ...
    
    $s->pwm(LEFT);
    $s->mode(INPUT);