Issue importing module in Digi Micropython

Hi Everyone,

I am having an issue importing and using the math module in Pycharm.

When I import it in code and flash my radio… it tells me

“ImportError: no module named ‘math’”

if I add it to the library and have it program it directly to the radio flash… it gives me another error:

inf is not defined.

Does the Digi version of micropython support the math library?


Did you check the documentation at for the module?

Thanks Mvut! I saw it in the micropython doc, and thought I also saw it in the digi documentation, but I checked again and it was not. I was able to implement my function using some of the built ins though. Thanks again.