pub const fn buffer_size<C: Color>(led_count: usize) -> usizeExpand description
Calculate the required buffer size for a certain number of LEDs.
This should be used to create the BUFFER_SIZE parameter of RmtSmartLeds.
Attempting to use more LEDs that the buffer is configured for will result in
an AdapterError::BufferSizeExceeded error.
You need to specify the correct color and channel type