Did a little googling and found that there is a Arduino library available for this sensor:
https://reference.arduino.cc/reference/en/libraries/tli493d/
Should thereotically work with the Teensy. Might save you some...
You might have unconnected a wire by accident. Had the wiring on these displays but when have to sometimes pulling all the wire off and reconnecting them works for me. As for libraries I usually use the ILI9341_t3n...
never tried it to see what happens but it looks like you have vcc tied to 5v? try tieing it to 3.3v and bl to 5v, set tft.rst to your rst pin. Usually when I get blank screens it because I dont have RST set.
Just woke up and reading this update after a rough day yesterday. Hopefully the news will be a lot better coming out of NXP!!!. Hopefully they will feel there is enough of a backlog or people complaining that they...
Alcon
@KurtE and I have been working through all the display libraries to allow for multiple displays as well as fixing the glcdfont issue. So far the following libraries have been updated:
RA8895_t4:...
Think in the long run probably better to use a common base.
What I am trying to remember is why we changed:
#include "glcdfont.c"
//extern "C" const unsigned char glcdfont;
which work to use extern.... @KurtE...
Think the fix piecemeal might work for the short term but think in the long term probably should do something like have a base class.
Most of the Libs I put together are all based off the ILI9341_t3n library and then...
Looks like the #defines for CL and TCR_MASK will be a easy fix by doing something like this in the Libs:
#ifdef CL
#undef CL
#endif
#define CL(_r,_g,_b) ((((_r)&0xF8)<<8)|(((_g)&0xFC)<<3)|((_b)>>3))
not sure what...
@KurtE - @MichaelMeissner etc
Just put together a quick test using the GC and St7789 boards:
#include "SPI.h"
#include "GC9A01A_t3n.h"
// *************** Change to your Pin numbers ***************
#define...
Not sure how to answer this without sounding cranky :). The fontTest examples were designed to demonstrate how to use the GFX and the ILI9341_fonts hence the name ILI_Ada_FontTest4. However even with the include...
@KurtE
Not seeing 30seconds from the time indexjson for teensy shows up but almost - around 20 seconds. But it takes about that long before the IDE actually finishes loading.
Its interesting issue. I ran your in 1.8.19 with TD 1.58 Beta3 installed and you are correct.
1. It works when Teensy Serial is selected but.
2. Does not work when Teensyports is used.
When using Arduino 2.0.3...
There is actually another way if you want to use the approach that @defragster mentioned which doesn't involve using Serial Plotter which I always found to rather limiting. Several of us used it when we were playing...
@KurtE
Good point. When I did the PR it was focused on using FS and not SDFs. Unfortunately I am not set up either. I do have the board with the microphone on it but currently in process of updating windows on a...
@KurtE
That PR is a little more than a year old and I forgot all about it. The PR did 2 things added file.open support for both raw files as well as wav files.
Since you all made me curious about using the cli I decided to see if I could figure out whats going on since I never used it before. @KurtE's example in post #11 really help as an example.
What I found (for 2.x.x)...
The pads on the bottom of the Teensy 4.1 for PSRAM and flash both use the QSPI bus on the Teensy. From the production page:
QSPI Memory Expansion
Teensy 4.1 has 2 locations to add 8 pin QSPI memory chips. Both...
@rcarr. I will ditto what @KurtE said. Saw it but didn't register it.
I removed it in the sketch and it did resolve an issue with softreset. So now that I added parsing the rotation vector:
I2C timeout
END SETUP...
With the sketch I posted in post #17 I am seeing what appears to be a counter between reports as I showed in post #15:
17,0,3,6,
23
17,80,3,7,FB,15,0,0,0,5,8B,0,0,87,2,DB,1,15,D0,4F,2A,44,32,
4
17,0,3,8,
23...
@KurtE
The Sparkfun softreset in addition to sending the reset command reads whats left and flushes it:
//Read all incoming data and flush it
delay(50);
while (receivePacket() == true)
; //delay(1);...
Ok think I got it working now. Started with a simple extraction of info using a hybrid of your sketch and sparkfuns'
this seemed to work and gave me:
sendPacket(I2C): endTransmission successful
receivePacket...
Going to ask one more question. I am assuing that the Sparkfun library worked. If it did and I cant get your version working with the BNO080 then maybe something else going on.
@EcodroneSRL
Been playing with your sketch using a BNO080 and no matter what I tried to make you sketch work it doesn't. A couple of things seem to happen - 1) interrupts never fire on the BNO080, 2) I won't get any...
Found my Sparkfun bno080 breakout and using the sketch in the zip was causing a crash on both the micro mod and t41. got rid of the crash on the micromod by changing slightly how you do interrupt handling to make it...
Custom Themes in Arduino 2.0.3
Starting poking around the IDE issues and found a few things.
1. @KurtE has mentioned the contrast issue with the Arduino Dark Themes: Remove deprecated Theia themes
2. Also found...
Morning again
@KurtE
Just did that and yep looks better and easier to see where it is instead of scrolling though all the libraries.
Ditto for me as welll in 2.0.3
Forgot that they are not going to support...
Hi Paul
I am getting this error when compiling for Teensy 2.0:
exec: "C:\\Users\\Merli\\AppData\\Local\\Arduino15\\packages\\teensy\\tools\\teensy-compile\\11.3.1-beta2/avr/bin/avr-g++": file does not exist
...
Just installed 0.58.3 on both Arduino 1.8.19 and Arduino 2.0.3 on a Window 10x64 PC. No issues or errors on install. Also updated to latest fix in post#5 on 1.8.19 only.
Ran the USBHost_viewer sketch using a Switch...
Yep - found that out when I was experimenting on where to put that "p" array. Thats why I winded up putting it EXTMEM and made it global and using a T4.1:
EXTMEM p/CODE]
Changing the doubles to floats does work...
Think that is what was happening in this case as well. Even when I went back this morning and added the delay(10000) it CrashReport didnt report the error. However, had a feeling it was a memory issue but just was...
Morning Tim
Unfortunately no 8 second delay. The minute I opened the serial monitor it would go into a infinite restart loop. The delay might have worked can't remember if i tried that - probably not.
Also going back over the notes and examples you might try the delay(100) before doing a wire.begin(100000)
see https://github.com/sparkfun/SparkFun_BNO080_Arduino_Library/issues/16#issuecomment-491648164
Good to know. Its hard to debug this type of issue without having hardware to test with as I am sure you know. But a guess is a timing issue, remember Teensy 4.1 is running at 600mhz. In going through the BNO080...
Was poking around but could not find an associated breakout board. But I did notice from the hillcrest website that said the 086 is backward compatible with the 080 including existing software. You might try using the...
Morning all,
Yep - used that tuturial for ref a few times. Think the other part of Michael's question was the outdated info on the audio shield pin outs for the audio shield and the fact that only the T3.5, t3.6 is...
@brtaylor
Got the doubles version working using a T4.1 with EXTMEM.
What I did was make the p global and assigned it to extmem and I did get an output from it:
Output:
-18.92 which is larger than using the...
Ok last couple of comments.
1. Just realized that his indexes go from 1 to xxxxx. Ok fortran translation. He handles it by adjusting the array dimensions.
2. Chaning all the doubles to floats works:
Output:...
Ok since I can't resist. I just changed function undulation to:
double undulation(double lat, double lon)
{
double p, sinml, cosml, rleg;
double rlat, gr, re;
unsigned nmax1 = _nmax + 1;
//...
Morning all
Been playing with this for the couple of hours trying to do some debugging.
First, crashreport is failing looks like as a result of Serial rebooting or recycling too fast.
Did manage to trace it...
Very cool.
You might what to check this project out - along the same lines but using a Teensy: https://forum.pjrc.com/threads/45621-T3-2-with-FFT-improves-performance-of-cheap-doppler-radar?highlight=x-band
...
For fft_test example it was a port of the example from:
https://m0agx.eu/2018/05/23/practical-fft-on-microcontrollers-using-cmsis-dsp/
Was also looking at this to try and figure it out:...
Well to start I would look at the USBHost_t36 Storage examples especially the ListFiles example.
One thing to note is that because of changes to the Library the examples were not update. So in the examples where...
Over the past week or so I wanted to try out the changes made to ArduinoBLE to make it work with Teensy. Since I don't particularly care for BLE for telemetry data wanted to see what it could do. I came across an...
@KurtE - @defragster
Redid it using the test sketch and ignored looking at all the cores.
On a Win10 machine:
Initial Upload: 68% utilization.
Button Push: 65-70%
So when you push the reset button on the Teensy you see all cores spiking to 100%? If so I tried that with the test sketch Win10x64, IDE2.0.3, 0.58.2 and didn;t see that,
the last spike is when I hit the button...
was trying to duplicate with one IDE Window with a BLE Sketch and a second IDE window running the post 7 test sketch. Both cases they were on Teensy Port Com 10. With Serial Monitor open on both the output shows up in...
Ditto on how long its been since using a RA8875.
I don't remember ever seeing a block artifact during testing to be honest.
In looking at existing example...
Morning all
Downloaded and installed both IDE 2.0.3 and the new teensy-monitor. Reran in accordance with this:
I'm running Defragster's sketch from msg #7.
To reproduce the problem, after uploading and opening...