Begin Teensy 3.1 port

This commit is contained in:
PaulStoffregen
2014-06-07 18:47:44 -07:00
parent d765d114e0
commit ba10c7c572
6 changed files with 118 additions and 32 deletions

View File

@@ -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();
}