Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

golang bindings: compiler error #151

Closed
rudivandrunen-spronq opened this issue Feb 7, 2017 · 0 comments
Closed

golang bindings: compiler error #151

rudivandrunen-spronq opened this issue Feb 7, 2017 · 0 comments

Comments

@rudivandrunen-spronq
Copy link

When using the golang bindings and try to compile / install I get the following compiler error:

ws2811/ws2811.go:50: cannot use C.int(brightness) (type C.int) as type C.uint8_t in assignment

Note: the library and python bindings work perfectly.
Has anyone tested the lib using go ?
any clues ?

Thanks
Rudi

darinkes added a commit to darinkes/rpi_ws281x that referenced this issue May 6, 2017
jgarff pushed a commit that referenced this issue May 20, 2017
jgarff pushed a commit that referenced this issue Jul 6, 2017
* Pi Zero W v1.1 support added to rpihw.c

* Update rpihw.c (#164)

added raspi Zero W

* Device-tree auto-detect

* Channel gamma support

* Reverted to old detection, added 0x9200c1

* Changed gamma correction to match leds

* Removed dead dt detect code

* Re added "Pi Zero W v1.1", .hwver = 0x9000c1, (#181)

* Added PCM and SPI support. Specifying the corresponding GPIO pin will (#170)

select either PWM, PCM or SPI.
PCM and SPI only support 1 channel.
Increased version to 1.1.0.
Updated README.md

* Fix setting of brightness in go bindings (#174)

Fixes #151

* Added delay to ensure reset time being met with low led counts (#157)

* Fix includes as per #178 (#189)

* clean up doco and strandtest (#187)

* updated documentation on GPIO usage
strandtest now defaults to GRB colour order
added version.h to gitignore

* updated python readme

* more README cleanup

* added notes on spi max transfer size
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant