This PR removes the reset parameter from Builder::init and replaces it with a setter. The setter is a bit easier to use, because the argument doesn't need to be wrapped into an Option. I think it's also advantageous to not have init take one argument which is only borrowed (the delay) and another that remains owned by the Builder/Display (the reset pin).
This PR removes the reset parameter from
Builder::init
and replaces it with a setter. The setter is a bit easier to use, because the argument doesn't need to be wrapped into anOption
. I think it's also advantageous to not haveinit
take one argument which is only borrowed (the delay) and another that remains owned by theBuilder
/Display
(the reset pin).