- Git or Github
- node.js >= 4.2.x
- Terminal, as powershell, git shell, github shell
- Open a shell window, go to a folder you want to save the code.
- ReSpeaker Microphone Array Driver for windows:MicArrayDriver
git clone https://github.com/Fuhua-Chen/ReSpeaker-Microphone-Array-HID-tool
cd ReSpeaker-Microphone-Array-HID-tool
.\install_win.bat
orsh ./install_linux.sh
-
Run
node michid.js set 0 4 0xffffff01
You will find that the ReSpeaker Microphone Array's LEDs light up as white.
-
Commands should have same formation as below:(data should be sent with little endian mode)
node michid.js [command][arg1][arg2][arg3]
-
get
node michid.js getall
You can get all reg data from ReSpeaker Microphone Array.
node michid.js get [reg address][leght of data:less than 4 bytes]
You can get data from the reg address.
-
set
node michid.js get [reg address][leght of data:less than 4 bytes][data]
You can set the reg.
- This xlsx file shows you how do the communication arrange: [HID PROTOCOL](respeaker micarray hid protocol.xlsx)
- The install_linux.sh will run faild in some Linux System, deal with the wait.