Modifications on NeoMatrix library to fit the recent Mbed system
Dependents: 4180_final_project_github
Diff: NeoMatrix.cpp
- Revision:
- 4:f5c7124c262f
- Parent:
- 3:9a2779957e46
--- a/NeoMatrix.cpp Tue Mar 17 05:46:34 2015 +0000 +++ b/NeoMatrix.cpp Wed Dec 02 18:17:05 2020 +0000 @@ -47,7 +47,7 @@ N = 0; } - gpio_init(&gpio, pin, PIN_OUTPUT); // initialize GPIO registers + gpio_init_out(&gpio, pin); // initialize GPIO registers neo_fio_reg = (uint32_t)gpio.reg_dir; // set registers and bitmask for neo_bitmask = 1 << ((int)pin & 0x1F); // the assembly to use }