test program

This commit is contained in:
lordwelch 2017-10-26 18:07:28 -06:00
parent 8c11f0c6d6
commit ac51c846ac

View File

@ -30,9 +30,9 @@ func main() {
RALT,
RSUPER)
fmt.Println()
fmt.Printf("%08b\n", test[0])
fmt.Printf("%08b\n", test[:])
test[0] |= LCTRL
fmt.Printf("%08b\n", test[0])
fmt.Printf("%08b\n", test[:])
file, err := os.OpenFile("/dev/hidg0", os.O_WRONLY, os.ModePerm)
file2, err2 := os.OpenFile("test", os.O_WRONLY|os.O_CREATE, os.ModePerm)
fmt.Println(err)