Repository navigation
Flash code
MasBarr edited this page Oct 9, 2026
·
4 revisions
- Install the Arduino IDE.
- Follow Adafruit's instructions to add support for the Feather M0 board.
- In the Arduino IDE, click Sketch → Include Library → Manage Libraries.
- Search for Tumbly.
- Click Install. If it asks, also install the dependencies.
-
Open File → Examples → Tumbly → Tumbly.
-
Plug the Feather into your computer with a micro-USB data cable.
-
Double-click the reset button on the Feather to put it in bootloader mode.
-
Under Tools → Board, select Adafruit Feather M0.
-
Click the Upload arrow.
You can leave the sketch as it is. Task, schedule, device ID, and door positions can all be changed on the device (see Step 6).
#include <Tumbly.h>
// Task options: "TimedDoor", "FreeFeeding", or "Demo"
String task = "TimedDoor";
bool darkMode = false; // true = turn off screen and LED after the task starts
Tumbly tumbly(task, darkMode);
void setup() {
tumbly.begin();
}
void loop() {
tumbly.run();
}← Step 3: Assemble the electronics | Next → Step 5: Assemble Tumbly