Choose a demo
Switch between firmware graphics and the Jupiter green-phosphor demo suite.
The firmware has four modes. You choose one with the MODE macro in main/main.c.
MODE | Shows | Frame buffers |
|---|---|---|
| 3 (default) | A picture that a program sends over Wi-Fi. Until one arrives, the monitor shows the board's IP address. | Two, in PSRAM |
| 2 | A shaded 3D torus knot with an orbiting light, at 49 fps | Two, in PSRAM |
| 1 | A wireframe icosahedron that tumbles and bounces around the screen | One, in internal RAM |
| 0 | A static calibration pattern: borders, grid, diagonals, intensity blocks, checkerboard and circle | One, in internal RAM |
To change the mode:
- Edit the line
#define MODE 3inmain/main.c. - Rebuild and flash. See Build and flash.
Mode 3 needs a Wi-Fi network. See Send frames over Wi-Fi. For Jupiter's adapted green-phosphor web demo screens, run python3 tools/jupiter_display.py <board-ip> --demo all --fps 1 --repeat. See Jupiter display demo suite.
Mode 2 prints its frame rate and the time spent in each stage every 100 frames, for example 49.3 fps, 17.0 ms render per frame, 813 of 1536 triangles drawn.
Use mode 0 to centre the picture. See Adjust the picture.