|
|
@ -187,6 +187,8 @@ func NewRGBLedMatrix(config *HardwareConfig, argc *int, argv *[]string) (c Matri
|
|
|
|
w, h := config.geometry()
|
|
|
|
w, h := config.geometry()
|
|
|
|
cargc := C.int(*argc)
|
|
|
|
cargc := C.int(*argc)
|
|
|
|
cargv := stringsToC(*argv)
|
|
|
|
cargv := stringsToC(*argv)
|
|
|
|
|
|
|
|
fmt.Printf("ArgV: %#v", *argv)
|
|
|
|
|
|
|
|
fmt.Printf("CArgV: %#v", cargv)
|
|
|
|
m := C.led_matrix_create_from_options(config.toC(), &cargc, &cargv)
|
|
|
|
m := C.led_matrix_create_from_options(config.toC(), &cargc, &cargv)
|
|
|
|
b := C.led_matrix_create_offscreen_canvas(m)
|
|
|
|
b := C.led_matrix_create_offscreen_canvas(m)
|
|
|
|
c = &RGBLedMatrix{
|
|
|
|
c = &RGBLedMatrix{
|
|
|
|