mirror of
https://github.com/PaulStoffregen/Tlc5940
synced 2025-09-27 10:02:20 +02:00
Begin Teensy 3.1 port
This commit is contained in:
@@ -23,11 +23,8 @@
|
||||
PROGMEM utility functions for setting grayscale or dot correction data
|
||||
from PROGMEM. See the UsingProgmem Example for an example. */
|
||||
|
||||
#include <avr/pgmspace.h>
|
||||
#include <avr/io.h>
|
||||
|
||||
#include "tlc_config.h"
|
||||
#include "Tlc5940.h"
|
||||
#include "pinouts/pin_functions.h"
|
||||
|
||||
void tlc_setGSfromProgmem(prog_uint8_t *gsArray);
|
||||
#if VPRG_ENABLED
|
||||
@@ -115,8 +112,7 @@ void tlc_setDCfromProgmem(prog_uint8_t *dcArray)
|
||||
while (p < dcArrayEnd) {
|
||||
tlc_shift8(pgm_read_byte(p++));
|
||||
}
|
||||
XLAT_PORT |= _BV(XLAT_PIN);
|
||||
XLAT_PORT &= ~_BV(XLAT_PIN);
|
||||
pulse_pin(XLAT_PORT, XLAT_PIN);
|
||||
|
||||
tlc_dcModeStop();
|
||||
}
|
||||
|
Reference in New Issue
Block a user