From ef3f944fdca0ad281765644656f45e4f7e3716b0 Mon Sep 17 00:00:00 2001 From: gijsio <67470426+gijsio@users.noreply.github.com> Date: Mon, 5 Oct 2020 14:06:48 +0200 Subject: [PATCH] made the example work --- content/pybytes/api/_index.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/content/pybytes/api/_index.md b/content/pybytes/api/_index.md index 1f7f375..a26ac3e 100644 --- a/content/pybytes/api/_index.md +++ b/content/pybytes/api/_index.md @@ -7,7 +7,11 @@ aliases: The Pybytes library is positioned in the [frozen](/advance/frozen/) section of the firmware. It can be imported like regular modules: ```python from _pybytes import Pybytes -pybytes = Pybytes() +from _pybytes_config import PybytesConfig +conf = PybytesConfig().read_config() +pybytes = Pybytes(conf) + +pybytes.start() ```