Treehopper Java API
io.treehopper.SoftPwmManager Class Reference

Internal SoftPWM manager. More...

Public Member Functions

 SoftPwmManager (TreehopperUsb board)
 
void stop ()
 
double getDutyCycle (Pin pin)
 
void setDutyCycle (Pin pin, double value)
 
double getPulseWidth (Pin pin)
 
void setPulseWidth (Pin pin, double pulseWidth)
 
void StartPin (Pin pin)
 
void StopPin (Pin pin)
 

Protected Member Functions

void finalize () throws Throwable
 

Detailed Description

Internal SoftPWM manager.

Constructor & Destructor Documentation

◆ SoftPwmManager()

io.treehopper.SoftPwmManager.SoftPwmManager ( TreehopperUsb  board)

Member Function Documentation

◆ finalize()

void io.treehopper.SoftPwmManager.finalize ( ) throws Throwable
protected

◆ getDutyCycle()

double io.treehopper.SoftPwmManager.getDutyCycle ( Pin  pin)

◆ getPulseWidth()

double io.treehopper.SoftPwmManager.getPulseWidth ( Pin  pin)

◆ setDutyCycle()

void io.treehopper.SoftPwmManager.setDutyCycle ( Pin  pin,
double  value 
)

◆ setPulseWidth()

void io.treehopper.SoftPwmManager.setPulseWidth ( Pin  pin,
double  pulseWidth 
)

◆ StartPin()

void io.treehopper.SoftPwmManager.StartPin ( Pin  pin)

◆ stop()

void io.treehopper.SoftPwmManager.stop ( )

◆ StopPin()

void io.treehopper.SoftPwmManager.StopPin ( Pin  pin)

The documentation for this class was generated from the following file: