2019-06-16 18:11:10 +00:00
|
|
|
package rgbled
|
|
|
|
|
2019-07-14 17:06:26 +00:00
|
|
|
// RGBLED is an interface that discribes all needed functions for a RGBLED
|
2019-06-16 18:11:10 +00:00
|
|
|
type RGBLED interface {
|
2019-06-24 20:57:29 +00:00
|
|
|
Blue() error
|
|
|
|
Green() error
|
|
|
|
Purple() error
|
|
|
|
Red() error
|
|
|
|
Turquoise() error
|
|
|
|
White() error
|
|
|
|
Yellow() error
|
|
|
|
|
|
|
|
Error() error
|
|
|
|
Logfile() error
|
|
|
|
Run() error
|
|
|
|
Sync() error
|
|
|
|
Warn() error
|
|
|
|
|
|
|
|
On() error
|
2019-06-16 18:11:10 +00:00
|
|
|
Off() error
|
|
|
|
}
|