Example #1
0
func Wait() error {
	res := int(C.ws2811_wait(&C.ledstring))
	if res == 0 {
		return nil
	} else {
		return errors.New(fmt.Sprintf("Error ws2811.wait.%d", res))
	}
}
Example #2
0
func Wait() int {
	res := int(C.ws2811_wait(&C.ledstring))
	return res
}