From 01d112c38b401f1bd04ab3302d5acf323f3628a5 Mon Sep 17 00:00:00 2001 From: jirikrepl Date: Thu, 23 Jan 2020 12:14:38 +0100 Subject: [PATCH] refactor: updated structure of pybytes library api page --- content/pybytes/api/_index.md | 42 ++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/content/pybytes/api/_index.md b/content/pybytes/api/_index.md index ba2439d..ccad19f 100644 --- a/content/pybytes/api/_index.md +++ b/content/pybytes/api/_index.md @@ -3,6 +3,28 @@ title: "Pybytes library API" aliases: --- +To test Pybytes library API, connect your device to Pymakr and call the methods listed below. +You can use Pybytes library API in your MicroPython project. + + +### Debugging +If you are facing any issues try to enable debugging. +There are multiple debug levels, 0 is warnings only, 99 is currently the highest used). + +#### use: + +``` +>> import pycom; +>> pycom.nvs_set('pybytes_debug', debugLevel) +``` + +#### e.g. +``` +>> import pycom; +>> pycom.nvs_set('pybytes_debug', 99) +``` + + # API List @@ -57,23 +79,3 @@ aliases: * [Update configuration](update_config) * [Write configuration](write_config) - -# Issues - -If you are facing any issues try to enable debugging. - -### Debugging -There are multiple debug levels, 0 is warnings only, 6 is currently the highest used). - -#### use: - -``` ->> import pycom; ->> pycom.nvs_set('pybytes_debug', debugLevel) -``` - -#### e.g. -``` ->> import pycom; ->> pycom.nvs_set('pybytes_debug', 6) -```