User Tools

Site Tools


the_ledtester_class

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
the_ledtester_class [2018/08/11 00:37] frchristhe_ledtester_class [2018/08/11 00:41] frchris
Line 25: Line 25:
         lt.flashMorse(s);         lt.flashMorse(s);
         lt.finalize();         lt.finalize();
 +    }
 +    /*
 +     * create a new LED instance
 +     */
 +    public LEDTester() {
 +        this(new LED());
     }     }
          
 +    /*
 +     * Creates a LED instance based on a LED object
 +     */
 +    public LEDTester(LED p) {
 +        pin1 = p;
 +    }
 +    
 +    /*
 +     * create a new LED instance
 +     */
 +    public LEDTester() {
 +        this(new LED());
 +    }
     protected void finalize(){     protected void finalize(){
         pin1.finalize();         pin1.finalize();
the_ledtester_class.txt · Last modified: 2018/08/11 01:10 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki