n/a
Fork of NeoStrip by
Revision 1:f531a2be180d, committed 2014-05-21
- Comitter:
- aswild
- Date:
- Wed May 21 02:28:43 2014 +0000
- Parent:
- 0:9f237b11f0a8
- Commit message:
- uses new gpio_init_out() HAL function
Changed in this revision
NeoStrip.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/NeoStrip.cpp Wed Mar 12 18:36:58 2014 +0000 +++ b/NeoStrip.cpp Wed May 21 02:28:43 2014 +0000 @@ -33,7 +33,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 }