Open GrantM11235 opened 3 years ago
Update: I was able to port the top three display drivers (ssd1306, ili9341, and st7789) to this api without much difficulty
Sorry for the force-push, I wanted to make a small change to the api.
The previous version of this PR had send_{iter,slice}
methods that took a DataOrCommand
enum but I realized that it is more ergonomic to just have send_{command,data}_{iter,slice}
methods.
Pros
dyn Iterator
anymoreCons
u16
s. This only requires 1-3 lines of codeTodo