This project depends on you adding your WiFi settings and OpenAI API key in order to generate the text adventure.

Plug your CircuitPython board into your computer via a known good data + power USB cable. Your board should show up as a thumb drive in your File Explorer / Finder (depending on your operating system) named CIRCUITPY.

Create a file with the name settings.toml in the root directory of the CIRCUITPY drive.

Edit it to contain the keys WIFI_SSID, WIFI_PASSWORD, and OPENAI_API_KEY. (It's also OK for it to contain other keys)

Your file should look similar to the one shown below:

OPENAI_API_KEY="sk-b6...kP5"
WIFI_SSID="GuestAP"
WIFI_PASSWORD="i trust u"

This guide was first published on Mar 10, 2023. It was last updated on Mar 29, 2024.

This page (Configuring the settings.toml File) was last updated on Mar 08, 2024.

Text editor powered by tinymce.