Teensyduino 1.39 has been released.
https://www.pjrc.com/teensy/td_download.html
No changes were made since 1.39-beta2.
https://www.pjrc.com/teensy/td_download.html
No changes were made since 1.39-beta2.
Just FYI, please pull a new i2c_t3 release to include for your next TD version.
Done, and I just sent you a pull request for the 1 tiny customization that was in my copy.
I just tried to use SPI1 on a teensy 3.2. The compile failed with "SPI1 was not declared in this scope". If I compile as a Teensy 3.6, 3.5, or LC the compile completes. The compile fails on teensy 3.0 and 3.2/3.1. Doesn't the 3.2 have the second SPI hardware?
Thanks, I was trying to use 11, 12, 13 as SPI and 7,8,14 as SPI1. Guess it's a single SPI but alternate pins.
In file included from C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/FastLED.h:51:0,
from C:\Users\CyberPalin\Documents\Arduino\TeensyOpenMV2\TeensyOpenMV2.ino:10:
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/fastpin.h: In instantiation of 'class FastPin<31u>':
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/platforms/avr/clockless_trinket.h:96:49: required from 'class ClocklessController<31u, 39, 39, 77, (EOrder)10u, 0, false, 10>'
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/chipsets.h:460:7: required from 'class WS2811Controller800Khz<31u, (EOrder)10u>'
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/FastLED.h:110:52: required from 'class WS2811<31u, (EOrder)10u>'
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/FastLED.h:297:39: required from 'static CLEDController& CFastLED::addLeds(CRGB*, int, int) [with CHIPSET = WS2811; unsigned char DATA_PIN = 31u; EOrder RGB_ORDER = (EOrder)10u]'
C:\Users\CyberPalin\Documents\Arduino\TeensyOpenMV2\TeensyOpenMV2.ino:98:56: required from here
C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED/fastpin.h:206:2: error: static assertion failed: Invalid pin specified
static_assert(validpin(), "Invalid pin specified");
^
Know 1.40 is out but I just downloaded the lastest fastLED library and it threw an error for the T3.5 (see below).
Multiple libraries were found for "FastLED.h"
Used: C:\Users\CyberPalin\Documents\Arduino\libraries\FastLED
Not used: C:\Local Programs\arduino-1.8.5\hardware\teensy\avr\libraries\FastLED
Error compiling for board Teensy 3.5.
#include <FastLED.h>
Thanks
Mike
//Malek Systems RGB LED WS2812B
#define DATA_PIN 31
#define NUM_LEDS 8
#define BRIGHTNESS 64
CRGB leds[NUM_LEDS];
void setup() {
//LED Setup
delay(2000);
FastLED.addLeds<WS2811, DATA_PIN, RGB>(leds, NUM_LEDS);
FastLED.setBrightness( BRIGHTNESS );
for(int whiteLed = 0; whiteLed < NUM_LEDS; whiteLed = whiteLed + 1) {
// Turn our current led on to white, then show the leds
leds[whiteLed] = CRGB::White;
// Show the leds (only one of which is set to white, from above)
}
FastLED.show();
}
void loop() {
// put your main code here, to run repeatedly:
}