コード例 #1
0
        public void Initialize()
        {
            var spiConfig = new SPI.Configuration(_chipSelect, false, 0, 0, false, true, 12000, _spiModule);
            var spi       = new SPI(spiConfig);

            // Instantiate the block driver
            var driver = new FL164KIF01BlockDriver(spi, Oxygen.Hardware.UserLed, 4);

            // Instantiate the file system passing the block driver for the underlying storage medium
            _tfs = new TinyFileSystem(driver);
        }
コード例 #2
0
        public void Initialize()
        {
            var spiConfig = new SPI.Configuration(_chipSelect, false, 0, 0, false, true, 12000, _spiModule);
            var spi = new SPI(spiConfig);

            // Instantiate the block driver
            var driver = new FL164KIF01BlockDriver(spi, Oxygen.Hardware.UserLed, 4);

            // Instantiate the file system passing the block driver for the underlying storage medium
            _tfs = new TinyFileSystem(driver);
        }