This is the code that triggers it
var osB = new Graphics.BufferedBitmap({:width=>200,:height=>200,:palette=>[Graphics.COLOR_BLACK,Graphics.COLOR_WHITE]});
This is the code that triggers it
var osB = new Graphics.BufferedBitmap({:width=>200,:height=>200,:palette=>[Graphics.COLOR_BLACK,Graphics.COLOR_WHITE]});
Could it be that width and height are larger than the screen?
Ooh, I didn’t consider that, I’ll see if that’s the case by knocking the size down to 176x176
That wasn’t it. I’m rather stumped
Dumb q, but what happens if you omit :palette?
Nothing changes, still reports the error.
Have you imported the Graphics module correctly, i.e.
import Toybox.Graphics;
Yes, I should add it works on other devices.