BBS:      TELESC.NET.BR
Assunto:  Re: Baremetal programiing the Pimoroni Tiny2040 RGB LED
De:       Single Stage to Orbit
Data:     Sat, 17 Jan 2026 15:04:30 +0000
-----------------------------------------------------------
On Sun, 2026-01-11 at 18:52 +0000, Daniel James wrote:
> 

> However: There is a section on hardware PWM in the Pico-series C/C++ 
> SDK, have you seen that?

Oh interesting, I can take a look at that. Hopefully the sources will
clarify what's required.

> I confess it's not something I've played with, but it doesn't look
> too impenetrable ... it doesn't require PIO programming (something
> else I haven't played with yet) like another example I found.

No, you're right, thankfully I don't need to go down that PIO rabbit
hole yet. Just to demysterify how to do the PWM in assembly. 

> I'm not sure how long ago I downloaded this SDK so it may not be
> quite current ... but it's section 4.1.18 on P249.
> 
> If you used a capable search engine you might stumble across this:
> 
> https://forums.raspberrypi.com/viewtopic.php?t=344634
> 
> which seems to shed some light ...

Thanks. 
-- 
Tactical Nuclear Kittens


--- PyGate Linux v1.5.2
 * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)

-----------------------------------------------------------
[Voltar]