BBS:      TELESC.NET.BR
Assunto:  Re: Baremetal programiing the Pimoroni Tiny2040 RGB LED
De:       Daniel James
Data:     Sun, 11 Jan 2026 18:52:17 +0000
-----------------------------------------------------------
On 11/01/2026 16:15, Single Stage to Orbit wrote:
> Does this group also include the Raspberry rp2040/rp2350 as well?

I don't see why not ...

> The rp2040 datasheets are instrutable on the subject of the PWMs.

Agreed. The official documentation for everything but Python is sketchy 
at best. Superficially it looks great, but on closer inspection it is 
found to present all the right words without imbuing them with any meaning.

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

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.

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 ...

-- 
Cheers,
  Daniel.

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

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