[nRF52] How to I enable machine.freq()? freq() seems to be missing from machine module

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
User avatar
WhiteHare
Posts: 129
Joined: Thu Oct 04, 2018 4:00 am

[nRF52] How to I enable machine.freq()? freq() seems to be missing from machine module

Post by WhiteHare » Sun Oct 21, 2018 3:43 pm

Even though I do an explicit

Code: Select all

>>> import machine
a subsequent call to

Code: Select all

>>> machine.freq()
leads to

Code: Select all

AttributeError: 'module' object has no attribute 'freq'
How do I enable it?

Post Reply