Thank you for providing this crate, it simplifies interacting with the LCD displays attached to a PCF8574 a lot!
Since I am using a Joy-IT RB-LCD-20x4 display I would need to adopt the Pin layout, which at the moment is fixed inside of the Hardware implementation. My first take is to have a new Enum, like LCDType which has the values Defaultand JoyIT and depending on the value of this Enum the pins are routed differently inside of impl Hardware. Would that work or do you have a better approach? I can submit a PR for that.
Thank you for providing this crate, it simplifies interacting with the LCD displays attached to a PCF8574 a lot!
Since I am using a Joy-IT RB-LCD-20x4 display I would need to adopt the Pin layout, which at the moment is fixed inside of the Hardware implementation. My first take is to have a new Enum, like
LCDType
which has the valuesDefault
andJoyIT
and depending on the value of this Enum the pins are routed differently inside ofimpl Hardware
. Would that work or do you have a better approach? I can submit a PR for that.