pub fn split(self) -> Sets {
        let accel = Accelerometer {
            sda: self.accel_sda,
            scl: self.accel_scl,
        };

        let analog = Analog {
            a0: self.a0,
            a1: self.a1,
            a2: self.a2,
        };

        let audio = Audio {
            input: self.micin,
            output: self.micout,
        };

        let dotstar = Dotstar {
            ci: self.dotstar_ci,
            di: self.dotstar_di,
        };

        let stemma = STEMMA {
            sda: self.sda,
            scl: self.scl,
        };

        let keypad = Keypad {
            col0: self.col0,
            col1: self.col1,
            col2: self.col2,
            col3: self.col3,
            col4: self.col4,
            col5: self.col5,
            col6: self.col6,
            col7: self.col7,
            row0: self.row0,
            row1: self.row1,
            row2: self.row2,
            row3: self.row3,
        };

        Sets {
            accel,
            analog,
            audio,
            dotstar,
            stemma,
            keypad,
            neopixel: self.neopixel,
            port: self.port,
        }
    }
/// Split the device pins into subsets
Split the device pins into subsets
Split the device pins into subsets
pub fn split(self) -> Sets {
        let accel = Accelerometer {
            sda: self.accel_sda,
            scl: self.accel_scl,
        };
        let analog = Analog {
            a0: self.a0,
            a1: self.a1,
            a2: self.a2,
        };
        let audio = Audio {
            input: self.micin,
            output: self.micout,
        };
        let dotstar = Dotstar {
            ci: self.dotstar_ci,
            di: self.dotstar_di,
        };
        let stemma = STEMMA {
            sda: self.sda,
            scl: self.scl,
        };
        let keypad = Keypad {
            col0: self.col0,
            col1: self.col1,
            col2: self.col2,
            col3: self.col3,
            col4: self.col4,
            col5: self.col5,
            col6: self.col6,
            col7: self.col7,
            row0: self.row0,
            row1: self.row1,
            row2: self.row2,
            row3: self.row3,
        };
        Sets {
            accel,
            analog,
            audio,
            dotstar,
            stemma,
            keypad,
            neopixel: self.neopixel,
            port: self.port,
        }
    }
pub fn split ( self ) -> Sets { let accel = Accelerometer { sda : self . accel_sda , scl : self . accel_scl , } ; let analog = Analog { a0 : self . a0 , a1 : self . a1 , a2 : self . a2 , } ; let audio = Audio { input : self . micin , output : self . micout , } ; let dotstar = Dotstar { ci : self . dotstar_ci , di : self . dotstar_di , } ; let stemma = STEMMA { sda : self . sda , scl : self . scl , } ; let keypad = Keypad { col0 : self . col0 , col1 : self . col1 , col2 : self . col2 , col3 : self . col3 , col4 : self . col4 , col5 : self . col5 , col6 : self . col6 , col7 : self . col7 , row0 : self . row0 , row1 : self . row1 , row2 : self . row2 , row3 : self . row3 , } ; Sets { accel , analog , audio , dotstar , stemma , keypad , neopixel : self . neopixel , port : self . port , } }
Split the device pins into subsets
Split the device pins into subsets
self
self