Пример #1
0
        public static void sendWord(byte subAd, string word, int usbDevId)
        {
            Int32 wrByte;

            byte[] tempTx = new byte[1];
            tempTx[0] = Convert.ToByte(Convert.ToUInt32(word, 2));
            wrByte    = USB.UsbWrt(usbDevId, subAd, tempTx, 1);
        }
Пример #2
0
 public static void sendWord(byte subAd, byte[] stream, int nbSend, int usbDevId)
 {
     USB.UsbWrt(usbDevId, subAd, stream, nbSend);
 }