Hello and thank in advance for any help I can get from you.
I have a teensy 3.0 and I am trying to make a led (based on WS2811) and I am using the OctoWS2811 shield.
To controll the ledstrip I am using the OctoWS2811 library.
The problem is that I am also trying to use some inputs to change the pattern in the led strip.
When I try to read the choosen IO's They all read 0 and never the 1.
If I make a simple IO program thatreadsthe same IO's and prints it using serial port they work.
Is there something that the OctoWS2811 library does that can mess with port B and C of the uC. I noticed that the PTB0 and the PTC0 are used for controll of the leds using DMA and interrupts.
Can some one tell me if I can or cannot use this IO's.
At the moment I am trying to use the following IO's:
I have a teensy 3.0 and I am trying to make a led (based on WS2811) and I am using the OctoWS2811 shield.
To controll the ledstrip I am using the OctoWS2811 library.
The problem is that I am also trying to use some inputs to change the pattern in the led strip.
When I try to read the choosen IO's They all read 0 and never the 1.
If I make a simple IO program thatreadsthe same IO's and prints it using serial port they work.
Is there something that the OctoWS2811 library does that can mess with port B and C of the uC. I noticed that the PTB0 and the PTC0 are used for controll of the leds using DMA and interrupts.
Can some one tell me if I can or cannot use this IO's.
At the moment I am trying to use the following IO's:
Teensy Pin # | uC Pin Name |
22 | PTC1 |
23 | PTC2 |
9 | PTC3 |
10 | PTC4 |
11 | PTC6 |
12 | PTC7 |
17 | PTB1 |
19 | PTB2 |
18 | PTB3 |