mirror of
https://github.com/PaulStoffregen/Tlc5940
synced 2025-06-27 10:27:48 +02:00
Compare commits
No commits in common. "master" and "0.16" have entirely different histories.
@ -1,4 +1,4 @@
|
||||
# Tlc5940 Library
|
||||
#Tlc5940 Library#
|
||||
|
||||
16 channel PWM LED driver based on the Texas Instruments TLC5940 chip.
|
||||
|
||||
@ -11,9 +11,3 @@ http://playground.arduino.cc/Learning/TLC5940
|
||||
https://github.com/PaulStoffregen/Tlc5940
|
||||
|
||||

|
||||
|
||||
The TLC5940 chip SCK pin is sensitive to signal overshoot. When used with
|
||||
Teensy 4.0 or other high speed hardware, especially if using long wires, you
|
||||
may need to add a resistor inline with the SCLK signal.
|
||||
|
||||
https://forum.pjrc.com/threads/71009?p=323766&viewfull=1#post323766
|
||||
|
@ -39,7 +39,7 @@ volatile uint16_t tlc_animationPeriodsPerFrame;
|
||||
volatile uint16_t tlc_animationPeriodsWait;
|
||||
|
||||
volatile void tlc_animationXLATCallback(void);
|
||||
void tlc_playAnimation(const uint8_t /* PROGMEM */ *animation, uint16_t frames, uint16_t periodsPerFrame);
|
||||
void tlc_playAnimation(const uint8_t PROGMEM *animation, uint16_t frames, uint16_t periodsPerFrame);
|
||||
|
||||
/** \addtogroup ExtendedFunctions
|
||||
\code #include "tlc_animations.h" \endcode
|
||||
@ -55,7 +55,7 @@ void tlc_playAnimation(const uint8_t /* PROGMEM */ *animation, uint16_t frames,
|
||||
\param periodsPerFrame number of PWM periods to wait between each frame
|
||||
(0 means play the animation as fast as possible).
|
||||
The default PWM period for a 16MHz clock is 1.024ms. */
|
||||
void tlc_playAnimation(const uint8_t /* PROGMEM */ *animation, uint16_t frames, uint16_t periodsPerFrame)
|
||||
void tlc_playAnimation(const uint8_t PROGMEM *animation, uint16_t frames, uint16_t periodsPerFrame)
|
||||
{
|
||||
tlc_currentAnimation = animation;
|
||||
tlc_animationFrames = frames;
|
||||
|
Loading…
x
Reference in New Issue
Block a user