Josverl/micropython-stubs

NeopPixel stub is missing __dunder__ methods

Opened this issue · 0 comments

Should have

class NeoPixel:
    # ...
    def __len__(self) -> int: 
        """
        Returns the number of pixels in the strip.
        """
    
    def __setitem__(self,index, val) -> None: 
        """
        Set the pixel at index to the value, which is an RGB/RGBW tuple.
        """
        ...
    
    def __getitem__(self,index) -> Tuple: 
        """
        Returns the pixel at index as an RGB/RGBW tuple.
        """