Python Forum
hardware timer raspberry pico
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
hardware timer raspberry pico
#1
has the raspberry pico hardware timers on board.
I read conflicting information about that.
It could of course be that this functionality was added later.
thank you.
I'm not French, but from the netherlands
Reply
#2
I tried the Micropython v1.23.0 release.
At the moment, only SoftTimers are supported.
You don't need to supply an id. As far I know id -1 is taken.

This snippet was tested with an RP Pico without WiFi.

from machine import Timer


def print_hello(timer):
    print("Hello from", timer)


# one shot, duration: 1000 ms
timer = Timer(mode=Timer.ONE_SHOT, period=1000, callback=print_hello)
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply
#3
thanks for your reaction, still no hardware timer available Dodgy
I'm not French, but from the netherlands
Reply
#4
I've also come across mixed information about the Raspberry Pi Pico's hardware timers. From what I understand, it does have hardware timers available on board. However, some of the confusion might stem from updates or changes in the documentation and firmware. It's definitely worth checking the latest official documentation for the most up to date info.
Reply
#5
FYI: see SDK documentation:

https://picodocs.pinout.xyz/group__hardware__timer.html
and
https://picodocs.pinout.xyz/group__hardw...ml#details
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  raspberry pico second core ? trix 3 205 Jun-24-2024, 04:11 PM
Last Post: trix
Question Sonar Code in Thonny for Pi Pico iansmiler 1 467 Nov-22-2023, 12:27 PM
Last Post: deanhystad
  email timer/rss feed timer ndiniz 1 2,204 Feb-02-2021, 07:18 PM
Last Post: nilamo
  Hardware question re running Anaconda pberrett 6 3,211 Jan-23-2020, 04:23 PM
Last Post: rmspacedashrf
  How to check hardware type? MuntyScruntfundle 4 3,185 Feb-16-2019, 12:23 PM
Last Post: snippsat
  How to talk with Real Time Clock hardware? jackbk 12 11,703 Feb-15-2017, 05:53 AM
Last Post: jackbk

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020