home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.sys.raspberry-pi      Raspberry Pi computers & related hardwar      26,127 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 26,101 of 26,127   
   Daniel James to Single Stage to Orbit   
   Re: Baremetal programiing the Pimoroni T   
   18 Jan 26 12:37:31   
   
   From: daniel@me.invalid   
      
   On 17/01/2026 15:21, Single Stage to Orbit wrote:   
   > The funny thing is that the Pimoroni tiny2040 that I also have has a   
   > RGB LED on it, there's no data sheet for it but it appears to be   
   > reversed, in that all the GPIO pins attached to this LED are all active   
   > low, (i.e ~R GPIO18, ~B GPIO19, ~G GPIO20) so works in the opposite way   
   > to the LED on GPIO 25 on rp2040!   
      
   Did you read Pimoroni's own website entry for that part?   
      
   https://shop.pimoroni.com/products/tiny-2040   
      
   where it says:   
      
   *Notes*   
      
      * The RGB LED is connected to GP18-GP20 and active low (so the   
        on/off state will work in the opposite way to the LED on a   
        Raspberry Pi Pico). You can PWM the pins to dim the LED - check   
        out Tonygo2's MicroPython example.   
      
   The example cited is Python, so not directly of use to you, but here is   
   the link, anyway:   
      
   https://forums.pimoroni.com/t/tiny-2040-rgb-led-control-tutorial/16604   
      
      
   --   
   Cheers,   
     Daniel.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca