-
Notifications
You must be signed in to change notification settings - Fork 0
WriteRead()
Александр Климов edited this page Jan 14, 2020
·
1 revision
Поиск устройства по ключу.
WriteRead(*USB.USB)
Параметры
USB - Дескриптор поиска ( Device() ).
XIncludeFile "..\USB.pb"
USB::Init()
*USB.USB::USB = USB::Device($010066FF)
If Not *USB
Debug "Not USB"
Else
Debug "Connect"
EndIf
*USB\bTX[0] = $FF
*USB\bTX[1] = $F0
if WriteRead(*USB)
// Read *USB\bRX, Size *USB\wRX
EndIf