public interface BlinkOnPiMBean extends AppMBean
RdGnPiGpioDBlink the test and demo
program BlinkOnPi makes full use of Frame4J
by inheriting App. AppMBean.UIInfo (implemented by
App could be extended to make those also
available as MBen operations (not recommended).BlinkOnPi,
TestOnPi,
BlinkOnPi.properties| Modifier and Type | Method and Description |
|---|---|
Integer |
getCycCount()
See the number of cycles.
|
Boolean |
getLeBut()
The state of the button.
|
Boolean |
getLeBuz()
The state of the buzzer.
|
Integer |
getLeBuzPWM()
The PWM state of the buzzer.
|
Boolean |
getLEDgn()
The state of the green LED(s).
|
Boolean |
getLEDrd()
The state of the red LED(s).
|
Boolean |
getLEDye()
The state of the yellow LED(s).
|
Integer |
getPiType()
Get the Pi type.
|
void |
setCycCount(Integer cycCount)
Set the number of cycles.
|
void |
setLeBuz(Boolean on)
The state of the buzzer.
|
void |
setLeBuzPWM(Integer pwm)
Set buzzer output by PMM.
|
getActTime, getArgs, getCopyright, getExecTimeMsL, getLanguage, getName, getPurpose, getStartTime, getVerbose, getVersDate, stopBoolean getLEDye()
Boolean getLEDrd()
Boolean getLEDgn()
Boolean getLeBut()
Boolean getLeBuz()
setLeBuz(Boolean),
setLeBuzPWM(Integer),
getLeBuzPWM()Integer getLeBuzPWM()
getLeBuz()void setLeBuz(Boolean on)
void setLeBuzPWM(Integer pwm)
pwm - 0..255 is 0..100% PWMgetLeBuzPWM(),
getLeBuz()Integer getCycCount()
BlinkOnPi it
would take more than 40 years to overflow to negative.setCycCount(Integer)void setCycCount(Integer cycCount)
getCycCount()Integer getPiType()