The new code works well - driving the neopixels without issue. I have found a bug where the clear frame does not do a seek before writing out to the blob. I think it's overrunning and expanding the blob. I fixed it by:
// clears the frame buffer
// but does not write it to the pixel strip
function clearFrame()
{
fillFrame(clearString);
}
// fills the frame with a specific color
function fillFrame(color)
{
frame.seek(0, 'b'); // clear from start of frame
for (local p = 0; p < numpixels; p++)
writePixel(p, color);
frame.writen(0x00,'c');
}
The new code works well - driving the neopixels without issue. I have found a bug where the clear frame does not do a seek before writing out to the blob. I think it's overrunning and expanding the blob. I fixed it by:
Any chance of getting this into master?