Adafruit CircuitPython 6.2.0 for Raspberry Pi Pico with rp2040 released officially on 2021-04-05. Visit https://circuitpython.org/board/raspberry_pi_pico/ to donload .UF2 of the latest stable release of CircuitPython that will work with the Pico.
First try stable CircuitPython 6.2.0 on Raspberry Pi Pico:
from sys import implementation
from os import uname
from microcontroller import cpu
print('=======================')
print('system info from sys.implementation')
for i in implementation:
print(i)
print()
print('from os.uname')
for u in uname():
print(u)
print()
print('frequency: \t', cpu.frequency)
print('temperature: \t', cpu.temperature)
print('voltage: \t', cpu.voltage)
No comments:
Post a Comment