 };
 
  
-class SlowPWMdemo: public SlowPWM {
+class SlowPWMdemo: public SoftPWM {
 public:
-  using SlowPWM::SlowPWM;
+  using SoftPWM::SoftPWM;
   //it is a bad idea to do this much in an isr ...
   virtual void onToggle(bool on){
     if(!on){
-      dbg.print("\nSlowpwm:");
+      dbg.print("\nSoftPWM:");
     } else {
       dbg.print(" to ");
     }
     dbg.print(millis());
   }
     
-} spwmdemo(250,750,true);
+} spwmdemo(250,750,false);
 
 RegisterTimer(spwmdemo);
 

//#include "sam3xcounter.h"
Print &dbg(SerialUSB);

#include "pinclass.h"


    pair[1]=high;   
  }
  
  SoftPWM(Ticks low, Ticks high, bool andStart=false){
    setCycle(low,high);
    if(andStart){
      onDone();
