in reply to Re: ST7789V2 LCD Controller
in thread ST7789V2 LCD Controller
my $data = \[ $cmd ]; # Create an array reference for a single comman +d byte
should be
my $data = [ $cmd ]; # Create an array reference for a single command + byte
You were sending a reference to a reference to an array :(
|
---|