Black Box editor
Official launch
Welcome to the Black Box editor!
This is what you'll be using to design and test your submission for Black Box. It won't be easy, but I know you can do it!
Read the docs, ask questions, and above all, try your best!
If you'd like to report a bug in the editor that prevents your code from working the way it should, or you'd like to request a feature that the editor is missing, you can do so using the Feedback link at the top of the page.
I can't wait to see what you create with it 😄
// Core definitions for black box
#include "blackbox.h"
// An example task that blinks a single pixel
void blink(task_handle self) {
// Toggle the pixel at (3, 3)
bb_matrix_toggle_pos(3, 3);
}
// Your main code goes here!
// Set up global variables, timers, events, etc.
void setup() {
// COGITO ERGO SUM
// Run `blink` every 500ms (every half second)
task_create_interval(blink, 500);
}
API documentation
Scientia potentia est
...
Debug
Status: Not running