Closed urshofer closed 8 years ago
Did you call Init() on the GPIO object ?
Looking at your repository at https://github.com/urshofer/ofxRpiLED/blob/master/src/ofxRpiLED.cpp#L21 you are allocating the GPIO object on the stack, then pass it to the RGB matrix, but then it falls out of scope. You need to keep the GPIO object around for the life-time of the Matrix.
By the time writing you answered already my question :) You're quicker than my typing. I moved the GPIO object - problem solved. Now tackling others. Thanks!
Hi -
I'm integrating the library in a openFrameworks addon. It should be a straight forward interface following the well known
setup() update() draw()
concept.Anyway I'm stuck with a segmentation fault. Probably a threading issue:
Has anybody an idea how to track down the bug? I'm a little bit stuck...
Best Urs