Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct MyDevice {
- spi: Spi<...>
- send: Send<String>
- }
- impl MyDevice {
- new(send: Send<String>, spi: Spi<Send<String>, String>) {'...}
- doingStuffWithSpi() {
- spi.write("this", this.send)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement