Using BusDog on Windows 10 and pluging in the Flex 1500 I could find:
- VID=2192 hex->0x890
- PID=1502 hex->0x5DE
How the radio was told to start:
https://gist.github.com/selfup/89e3ffcad7ee1298eb6de30c137d215a
How the radio was told to stop:
package main | |
import ( | |
"fmt" | |
"net/http" | |
"github.com/selfup/horde" | |
) | |
func main() { |
Using BusDog on Windows 10 and pluging in the Flex 1500 I could find:
How the radio was told to start:
https://gist.github.com/selfup/89e3ffcad7ee1298eb6de30c137d215a
How the radio was told to stop:
Id Type Time Length Hex Ascii | |
22 Out (USB URB Function: 9) 0.000000 20 2d 00 00 00 00 00 04 fc 00 00 00 00 00 00 00 00 00 00 00 00 -................... | |
22 Out (USB URB Function: 9) 0.001021 20 2e 00 00 00 00 00 04 ec 00 00 00 00 00 00 00 00 00 00 00 00 .................... | |
22 In (USB URB Function: 9) 1.758670 0 |
Id Type Time Length Hex Ascii | |
22 Out (USB URB Function: 9) 0.000000 20 00 00 00 00 00 00 04 c4 00 00 00 00 00 00 00 00 00 00 00 00 .................... | |
22 In (USB URB Function: 9) 0.002572 8 39 01 00 00 a5 0b 0d 0f 9....... | |
22 Out (USB URB Function: 9) 1.993371 20 01 00 00 00 00 00 04 c4 00 00 00 00 00 00 00 00 00 00 00 00 .................... | |
22 In (USB URB Function: 9) 0.002627 8 39 01 01 00 a5 0b 0d 0f 9....... | |
22 Out (USB URB Function: 9) 0.003938 20 02 00 00 00 00 00 04 c4 00 00 00 00 00 00 00 00 00 00 00 00 .................... | |
22 In (USB URB Function: 9) 0.003093 8 39 01 02 00 a5 0b 0d 0f 9....... | |
22 Out (USB URB Function: 9) 1.677804 20 03 00 00 00 00 00 04 c4 00 00 00 00 00 00 00 00 00 00 00 00 .................... | |
22 In (USB URB Function: 9) 0.003166 8 39 01 03 00 a5 0b 0d 0f 9....... | |
22 Out (USB URB Function: 9) 0.002329 20 04 00 00 00 00 00 04 b3 00 00 00 00 00 00 00 00 00 00 00 00 .................... |
package main | |
import ( | |
"errors" | |
"fmt" | |
) | |
func main() { | |
first := []int{1, 2, 3} | |
second := []int{4, 5, 6} |
package main | |
import ( | |
"encoding/hex" | |
"log" | |
"strconv" | |
"strings" | |
"github.com/jacobsa/go-serial/serial" | |
) |
#!/usr/bin/env bash | |
set -ex | |
sudo apt update | |
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.6.1 | |
echo -e '\n. $HOME/.asdf/asdf.sh' >> ~/.bashrc | |
echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.bashrc |
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"math/rand" | |
"os" | |
"strings" | |
"sync" | |
) |
const fileString = "title,body\nhello,wow\nwow,ok"; | |
const csv = fileString.split('\n'); | |
console.log(csv); | |
const headers = csv[0].split(','); | |
const rows = csv.splice(1); |
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"strings" | |
"sync" | |
) | |
func main() { |