![matt](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-13%2F7266903200262_c64d23eae299f834548f_192.jpg&w=96&q=75)
![alphabet-white-c emoji](/_next/image?url=https%3A%2F%2Femoji.slack-edge.com%2FT0266FRGM%2Falphabet-white-c%2F1c1d2f0a5950c107.png&w=96&q=75)
Posts tagged with :alphabet-white-c:
![matt](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-13%2F7266903200262_c64d23eae299f834548f_192.jpg&w=96&q=75)
![matt](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2024-06-13%2F7266903200262_c64d23eae299f834548f_192.jpg&w=96&q=75)
use std:Duration}; use rppal::i2c::I2c; fn main() { let mut i2c = I2c::new().expect("Failed to init i2c"); i2c.set_slave_address(0x74) .expect("Failed to set slave address"); for row in 0..6 { thread::sleep(Duration::from_millis(200)); i2c.block_write(0x24 + row * 24, &vec![8; 24].into_boxed_slice()) .expect("Failed to write fill command"); } }
![ian](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2023-09-04%2F5847803218243_3909d9c2338267302940_192.png&w=96&q=75)
![sporeball](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2023-02-28%2F4900081867648_b8f98249de2180930d84_192.png&w=96&q=75)
![christina695](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2022-02-20%2F3134741640900_e2d0cd8db59585dc51ac_192.png&w=96&q=75)
![sporeball](/_next/image?url=https%3A%2F%2Favatars.slack-edge.com%2F2023-02-28%2F4900081867648_b8f98249de2180930d84_192.png&w=96&q=75)