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