Skip to content

*slower* performance when using I2CBACKPACK #119

@aroman

Description

@aroman

Hi,

First of all thanks for this great library! I tried both the direct-to-board approach and the I2CBACKPACK approach. For single-pixel updates, or static displays, both work great. But for changing an entire strip of pixels (82, in my case), such as the "dynamic rainbow" example, both approaches slow to a crawl, and the framerate is barely 1FPS. I thought this was what I2CBACKPACK was supposed to enable, but for some reason it isn't working that way for me.

It seems like the big issue is the actual transmission/processing of the firmata commands on the main board. The RX light is constantly-on, and i can't even close the program with ctrl+C. It just prints 1518894452559 Board Closing. over and over until I kill the process. This behavior only happens with very fast refresh rates changing many pixels at a time.

Is the kind of operation/performance I'm trying to achieve simply not possible given the messaging overhead of FIRMATA?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions