mirror of
https://github.com/Hopiu/rpi-rgb-led-matrix.git
synced 2026-03-16 22:10:27 +00:00
o Update documentation.
This commit is contained in:
parent
5b3bbb7008
commit
3f47b57598
1 changed files with 2 additions and 2 deletions
|
|
@ -126,12 +126,12 @@ struct RGBLedMatrixOptions {
|
|||
* int main(int argc, char **argv) {
|
||||
* struct RGBLedMatrixOptions options;
|
||||
* memset(&options, 0, sizeof(options));
|
||||
* options.rows = 32;
|
||||
* options.rows = 32; // You can set defaults if you want.
|
||||
* options.chain_length = 1;
|
||||
* struct RGBLedMatrix *matrix = led_matrix_create_from_options(&options,
|
||||
* &argc, &argv);
|
||||
* if (matrix == NULL) {
|
||||
* led_matrix_print_flags(stderr, &options);
|
||||
* led_matrix_print_flags(stderr);
|
||||
* return 1;
|
||||
* }
|
||||
* // do additional commandline handling; then use matrix...
|
||||
|
|
|
|||
Loading…
Reference in a new issue