Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixed issue with passing inverted bits keyword arguments #7
When a user passes in black_bits_inverted or color_bits_inverted the IL0373 initializer will pass the keyword argument twice to the displayio.EPaperDisplay initializer rwhich raises an exception ('TypeError: extra keyword arguments given').
The fix is to swap dict.get for dict.pop
Thanks for the fix! I agree that swapping black and color ram args with swap_rams is the right approach. The two examples that use swap_rams don't set either so it is safe to change.
Would you mind adding parameter comments into the class comment? I should have done it when I added the driver.