Skip to content

Memory leak when using Input? #9

Open
@Nick-Aus

Description

@Nick-Aus

A simple loop with Input.begin() and (optionally) Input.end() will crash the Edge Control board after a repeatable number of cycles. 1134 in my test. The heap fills up until it borks. Input.begin() does a Wire.begin() behind the scenes. Adding a Wire.end() to the test loop stabilizes the heap size and it runs ok "forever". Wire calls TWI but I can't immediately see in either library what's causing this behavior.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions