コード例 #1
0
        public void SpiClose(int handle)
        {
            short ret = PiGpioNativeMethods.spiClose((ushort)handle);

            if (ret < 0)
            {
                throw new PiGPIOException(ret);
            }
        }