This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Raspberry Pi Pico W calculating the fibonacci sequence of 250 terms: | |
270Mhz (overclock): 13 seconds | |
130Mhz (stock speed): 23 seconds | |
100Mhz (underclock): 27 seconds | |
50Mhz (big underclock): 51 seconds | |
Raspberry Pi Pico W calculating the fibonacci sequence of 375 terms: | |
270Mhz (overclock): 40 seconds | |
130Mhz (stock speed): 165 seconds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import machine | |
import time | |
import math | |
# 270 mhz your Pico MAY go to 300mhz! | |
# Not tested on Pico 2! | |
# If I get a Pico 2 I will make one that uses 1 Arm core and 1 RISC-V core | |
machine.freq(270000000) | |
def calculate_pi(n): |