If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

I don't think I have tried the RF24s... I am playing around some with the RF95 with the touch screen... I have not played much yet with the touch...
On my Well monitoring board, WIP, I have the RF95 using SPI1. It...

Update on my last submittal. I have integrated the TFT-Touchscreen code and the RF24 code and will provide that below. The TFT-Touchscreen and the RF24 are connected to Teensy 3.6 as follows:
ILI9341Pin - Teensy 3.x ...

1377 pages of datasheet is a lot of bedtime reading and I clearly haven't read that chapter yet. My experience with PICs is that you can set bits to stop the code being read back and that these are usually set using an...

It very well may have been your code I adapted, if so thank you! I have never written code at all so I was just trial and erroring the whole thing.
I'll give raising the ">7"a try and let you know what happens. If...

How do I use a nRF24L01 on a Teensy 3.6 with the TFT and Touchscreen? I have a code which will work with the TFT Touchscreen and a separate code that operates with a RF24 and communicates with another board. But I can...

This looks like mutated code from something I posted years ago (in my first months of programming MIDI on Teensy).
As is this code is a bit 'non-standard' but given you say it works then the most likely explanation...

Or 16bit single ended ADC with all channels scaled to 27-30V will give you sub mV readings.
It really depends on cost. I have an 8 channel 16-18 bit 400kSPS ADC breakout for the ADS8698 series. Depending on what chip...

Mike,
Great! I was actually thinking that it's ok if there are some missed data for real-time displaying, but would be slick if all the data could be stored for "post-mission" analysis. So sounds doable.
Don

Don
I think it depends on whether you want to store it to an SD card or just write the data to a pc file as it is streaming. 99.99% sure the SPI_MSTransfer library will be able to handle it. Think the only limiting...

Mike,
When I send data to the serial, I'm doing it at maybe 25ms intervals or greater I think (the printRate interval you all set up).
With the SPI work tonton81, you, Tim, and others are doing, do you think we'll...

I will give it try next time I play with master/slave, but so far it looks like the issues have been resolved with the circular buffer. It was nice to see it working for the T3.5 setup's that I had.
Yep. ...

https://forum.pjrc.com/threads/29108-Teensy-operating-temperature?p=77355#post77355
Have subsequently did a partial regression on a unit with a Teensy 3.5, where decreased margins were indicated. Again, sample of...

Starting/Double clicking the EXE two times lets each have unique settings ( device and speeds and TEMP folders to build ) and the independent 'port' selection as well. Problem is the IDE's look identical so tracking...

Hey Don.
This is going to get interesting. I would of thought that updates for all the sensors would occur more frequently. It could be why the yaw is drifting so much. I did have some success if just setting mag =...

Putting some hooks into uNavAHRS so I can see how the states, residuals, and noise terms (Q,R) are behaving.
An interesting thing I noticed on the serial printout is that about 1-2% of the time the filter does...

In your version that worked you had
memmove(line1, &line1, x);
And in the new version that drops characters you have
memcpy(line1, &line1, x);
Edit: Well maybe not. You seem to have 3 different versions...

Well, the truth is that T3.5/3.6 are in theory be capable of supporting SWD and some users are using it, but the majority of actual Forum users are not using HW level debugging.
Also, AFAIK the bootloader on T3.5/3.6...

What about writing error free code from the beginning? ;)
Or using the integrated Led or serial.print for debugging and tracing messages?
I guess more than 90% of Teensy developers (and 99.9% of Arduino developers)...

Tim
Probably two 'File Open'. Guess I need two separate instances. would be nice just to select the comport the teensy is on then it loads to that comport - guess that's essentially where its headed.
Shot answer...

A button press should tell it which to load to. Are you running TWO instances of the IDE - not two 'File Open' copies of the same?
TyCommander addresses them by Serial # and will work - but the TD1.42b3 is getting...

The 2 most common problems are orienting the shield 180 degrees backwards, and not soldering the pins.
To help you, we really need to see photos of how you've actually connected everything. It's probably something...

Hello all,
I've recently been having troubles with the Teensy and Audio Shield connections. I cannot get any sound to output via the headphone jack regardless of which teensy I used (I've used two) which Audio...

Hi Kurt,
I respect your privacy and time. Remember Adafruit tft's are working but they library's are never optimized. For my project in fact a simple terminal monitor it looks easy as that, but it's not.
...

@Projectitis:
I've just converted the files... see attachment.
Perhaps time to update my whole google-fonts archive... Unfortunately I deleted the Virtual Machine where I had my code for batch-processing all files....

Sorry, tempting but I don't give out my personal information like where I live on the forums...
At one point I thought of purchasing one of the displays... But Norton gives a lot of warnings a about the site...

Agree with Frank... Another option is to look at the Arduino sources...
In particular if you look at the teens3\core_pins.h file
You will find sections for each pin...
#define CORE_PIN10_BIT 4
#define...

Thanks. Now I have to go and update my GitHub forks :) Been running at 5/5 with my testing so all is good even with my problematic T3.5M and T3.5/T3.2 slaves. Think you got it fixed. By the way I have been using...

First of all, my english is not so good. so there might be some problems in my questions. Also, i am new to teensy. But I already am familiar with arduino, so I figured it might just be easy to adapt.
So, I finally...

can ignore the other pins for now, only ERX0 and ETX1 are important
As far as the code:
https://www.youtube.com/watch?v=8NFOrq3_IQY
I still got 0 misses running 10ms rates both sides with led blinking
the upper...

I have been using the sketches I sent you previously for 2way communication which is essentially Tim's sketches but the modified slightly. Not sure what else to check right now. So back to that other project for a...

Interesting, your code I can do 0ms both sides
His code "misses" at 0ms, but works fine at 10ms
This could be an issue with the float processing, the amount of prints, and whatnot
interesting...
i like the way...

Hello,
I'm using 3.2 on Ubuntu 16.04 without the Arduino IDE as explained at
http://blogs.omnicron.com/ford/2015/06/17/easy-teensy-development-on-ubuntu/
The following test program is included
#include ...

We all learn from experience, so if I havn't blown up yet, I don't have that experience to not do it that way again :)
just out of curiosity, I reloaded Tim's sketches (same as the tonton examples), just so I can...

Oh dear lord!
https://www.youtube.com/watch?v=9VUYXw-qYpY
0ms both sides, they're going at it with no remorse!
0 error rates, both teensies overclocked, led blinking normal rate
i did correct a bug though, there...

Ok. Haven't a clue on to set a T3.5 to 240, but from what I read in an earlier post link, I read it wasn't really a good idea to overclock to 240.
BTW that's about 10uS faster than I am getting with my settings...

New method updated on the repo for the circular multidimensional array system --> pop_front(buffer, length);
this gives you an instant copy & deque of the array using memmove transfer
Previously I was using the...

Oh dear, I simply forgot yet another powerful feature...
Why the heck am I reading front() and then pop_front() to clear it when I could do a buffer internal combo? Thats right guys, a new method for circular array to...

Ok just to complete the circle on this pots.
I am adding the completed Landing light code so anyone else attempting this exercise has a starting point.
The Setup is this:
I am using the Teensy LC board to...

So before upgrading, I verified it was still happening (1.41 Teensy loader BTW), also quit Arduino IDE and Teensy Loader and restarted them, again still happening.
Upgraded to 1.42 Beta 3 and set to the "Teensy"...

The slave seems to be quite happy with a 5ms loop. The testing used 5ms sends from the master and the slave used the same (5ms loops). So I am not sure. By the way I missed wrote "changing the buffer from 32 to 64" ...

yeah, if the hits are faster than the loop it can wrap around and catch up, which is why we have a deeper circular buffer, although its a bandaid, this gives a reason to give a few ms processing time to complete a few...

Ok. Here we go with the good news T3.5M with 30M spi and 5ms loop, T3.5 at 144M clock. Still running after 2 hours up to 1.2M transfers no errors. Also, did quick tests with the SPI bus at 36M and 40M still works :) ...

As I mentioned, the easiest solution is to move the CS pin... And yes those are the valid pins to move to.
But to change the code to allow only needing DC requiring CS pin... Maybe the easiest thing would be to...

Hi All,
I've been successfully building and downloading my code for many months now using the default USB downloader. One of my boards is wired for SWD and we have the Segger j-link adapter. I've independently...

I'm trying to add the display to an existing board that has SPI1 available. SPI0 would require a layout change (which could be done, if really required).
If SPI1 is just a bad option, then I'll not waste any more time...

As mentioned SPI0 is faster than SPI1 and SPI2, but SPI1 and 2 are still very usable, as they still pretty well double buffer, so probably most of the time we can still keep things going pretty much at full speed.
...

Hi, you can find the code to convert the files here: https://github.com/PaulStoffregen/ILI9341_t3/tree/master/extras
If this does not help you, I can take a look - may take some days until I have time...

1. No real practical way of doing this unless you went to invest in a large array of relays with an isolated supply to power the Teensy.
2. Unless you invest in high accuracy resistors your going to be stuck with...

So, you've written your carefully crafted code into your Teensy and installed your electronic work of art, how do you protect your precious Teensy and its code from being tampered with? Is there some way of locking it...

Ok, eyes still closed a 7:00am but the T3.5/T3.1 combo with 5ms loops on both is still running. That's about 8 hours and 4.6M+ transfers with 1 error and 0 OT's.
Need coffee then lets see what we can do with the...

Thanks, Paul!
I'm actually prototyping on a STM32F103 based board, but not being able to use internal pull-ups (even though they are weak, they would be enough for my application) bothers me.
Those lines will be...

Indeed "j = Serial.read() ;" will wait for and read a single character. As written when j==1 the motor will go on and then a single reading will be taken and printed - loop() will exit and return to wait for input. ...

Hello,
I am Enzo and I am new to the Teensy world. I need your help to get started with a project that shuould use audio board and a wifi module. I would like to use a Teensy 3.6: it should process a audio stream...

Names like PB7, PB10, PB11 kinda sound like some other board than Teensy 3.1...
I would choose p-channel mosfets rather than schottky diodes. The diodes might work, or might cause trouble due to their substantial...

Thanks defragster,
So am I correct in saying that once the teensy has read the '1' sent from matlab and then serial prints, the '1' is now gone?
Upon reflection, I'm thinking it is wiped when I serial print, this...

Does this "out1 = adc->analogRead(32);" have the data you are looking for?
As written it will only show that once per Serial.read() when (j==1)?
In setup() add :: setAveraging(2); // for even faster read use (1)
...

Apologies about the sloppy formatting (i'm new), I have formatted it below.
A better explanation of what I am trying to achieve is:
I want to be able to measure the output of the motor from giving it a step input,...

1) can you please help us by indenting your code and putting it inside "" .... ""
2) could you describe the hand-shake you would like to implement, or should we really reverse engineer your intention.
What do you...

Internal to the library code. The data's like .pinToggle leave no trace or queue entry. Just wondering if they might ever be useful?
Really need to get back to current version ... been a distracted set of days -...