toc Pybytes library API Pybytes > Pybytes library API

Pybytes library API

To test the Pybytes library API, connect your device to Pymakr and call the methods listed below. You can use the Pybytes library API in your MicroPython project.

Debugging

Enable debugging if you are having any issues. There are multiple debug levels, the lowest is 0 which is for warnings only and 99 is the highest used and will print more debugging messages

use:

>> import pycom;
>> pycom.nvs_set('pybytes_debug', debugLevel)

e.g.

>> import pycom;
>> pycom.nvs_set('pybytes_debug', 99)

API List

 

Previous Next