5b3a143ffe
The tick timer needed to be reworked because the ASF delay functions also use the SysTick timer. Now, it uses TC5 and calls out to the autoreset logic every tick. Fixes #43. Added neopixel status colors and corrected the latch time from ms to us. Fixes #42.
14 lines
363 B
C
14 lines
363 B
C
#ifndef SAMD_NEOPIXEL_WRITE_H
|
|
#define SAMD_NEOPIXEL_WRITE_H
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
extern void new_status_color(uint8_t r, uint8_t g, uint8_t b);
|
|
extern void temp_status_color(uint8_t r, uint8_t g, uint8_t b);
|
|
extern void clear_temp_status();
|
|
|
|
void samd_neopixel_write(uint32_t pin, uint8_t *pixels, uint32_t numBytes, bool is800KHz);
|
|
|
|
#endif
|