示例#1
0
func StopElevator() {
	C.elev_set_speed(0)
}
示例#2
0
func Elev_set_speed(speed int) {
	C.elev_set_speed(C.int(speed))
}
示例#3
0
func SetSpeed(speed int) {
	//fmt.Println("Attmepting to set speed to ", speed)
	C.elev_set_speed(C.int(speed))
}