update
This commit is contained in:
1 parent
60f5783a26
commit
00f236cac7
27 files changed
+6318
-66
No files matched your search
@@ -85,6 +85,11 @@ func TurnOff(deviceId int) int {
|
||||
return int(C.tdTurnOff(C.int(deviceId)))
|
||||
}
|
||||
|
||||
// Learns a device
|
||||
func Learn(deviceId int) int {
|
||||
return int(C.tdLearn(C.int(deviceId)))
|
||||
}
|
||||
|
||||
// Dim dims a device to a level (0-255)
|
||||
func Dim(deviceId int, level int) int {
|
||||
return int(C.tdDim(C.int(deviceId), C.uchar(level)))
|
||||
|
||||
Reference in new issue
Block a user