Skip to content

Commit 01d112c

Browse files
committed
refactor: updated structure of pybytes library api page
1 parent ec2d584 commit 01d112c

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

content/pybytes/api/_index.md

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,28 @@ title: "Pybytes library API"
33
aliases:
44
---
55

6+
To test Pybytes library API, connect your device to Pymakr and call the methods listed below.
7+
You can use Pybytes library API in your MicroPython project.
8+
9+
10+
### Debugging
11+
If you are facing any issues try to enable debugging.
12+
There are multiple debug levels, 0 is warnings only, 99 is currently the highest used).
13+
14+
#### use:
15+
16+
```
17+
>> import pycom;
18+
>> pycom.nvs_set('pybytes_debug', debugLevel)
19+
```
20+
21+
#### e.g.
22+
```
23+
>> import pycom;
24+
>> pycom.nvs_set('pybytes_debug', 99)
25+
```
26+
27+
628
# API List
729

830

@@ -57,23 +79,3 @@ aliases:
5779
* [Update configuration](update_config)
5880

5981
* [Write configuration](write_config)
60-
61-
# Issues
62-
63-
If you are facing any issues try to enable debugging.
64-
65-
### Debugging
66-
There are multiple debug levels, 0 is warnings only, 6 is currently the highest used).
67-
68-
#### use:
69-
70-
```
71-
>> import pycom;
72-
>> pycom.nvs_set('pybytes_debug', debugLevel)
73-
```
74-
75-
#### e.g.
76-
```
77-
>> import pycom;
78-
>> pycom.nvs_set('pybytes_debug', 6)
79-
```

0 commit comments

Comments
 (0)