NeoPixel

T0H 0code, high voltage time 0.4us ±150ns
T1H 1code, high voltage time 0.8us ±150ns
T0L 0code, low voltage time 0.85us ±150ns
T1L 1code, low voltage time 0.45us ±150ns
RES low voltage time Above 50μs

  • 1 bit takes 1.25 us, 24 bit take 30 us
  • Timer resolution 0.25 us
  • MSB first
  • GRB

HTML Color 0xRRGGBB

Set/Reset Portpin

GPIO port bit set/reset register GPIOx_BSRR

  • Address offset: 0x18, x = A..K
  • bit0 .. bit15 bit set
  • bit16 .. bit31 bit reset

D8 =

Set Counter

Set Time Period

autoreload

Clear Update Flag

Enable/Disable Timer Interrupt

Start/Stop Timer

-- Peter Schmid - 2021-04-05

  • timing-neopixel.png:
    timing-neopixel.png
Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng timing-neopixel.png r1 manage 19.1 K 2021-04-05 - 14:38 PeterSchmid  
Edit | Attach | Watch | Print version | History: r12 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2021-04-10 - PeterSchmid
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback