refactor: updated structure of pybytes library api page

This commit is contained in:
jirikrepl
2020-01-23 12:14:38 +01:00
parent ec2d5842f1
commit 01d112c38b

View File

@@ -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)
```