In your code above line 51 is in the wrong place it should be in the draw() method so move it so it looks like this
background(255);
since it will set the background to white, replacing your image.
- void draw() {
- background(b);
- updateSerial();
- drawBoard();
- }
background(255);
since it will set the background to white, replacing your image.