You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rppal gpio functions use the Rust type system to stop you forgetting to set the pin mode, etc. This kind of thing is a good idea.
i2c should ideally have something similar, where you can't forget to call set_slave_address. (AFAICT none of the other setters are mandatory.) Unfortunately I think this would be a breaking change.
The text was updated successfully, but these errors were encountered:
The rppal gpio functions use the Rust type system to stop you forgetting to set the pin mode, etc. This kind of thing is a good idea.
i2c should ideally have something similar, where you can't forget to call
set_slave_address
. (AFAICT none of the other setters are mandatory.) Unfortunately I think this would be a breaking change.The text was updated successfully, but these errors were encountered: