-
Older Activity
-
05-24-2023, 12:18 PM
Thought I saw something a while ago about this. This may explain it: https://forum.pjrc.com/threads/70660-Teensy-4-0-analogWriteFrequency-rounding-errors?p=309572&viewfull=1#post309572
7 replies | 195 view(s)
-
05-14-2023, 09:02 PM
Nice @KurtE - looks like you got almost 100% working :)
66 replies | 3189 view(s)
-
05-14-2023, 10:27 AM
@tjaekel - nice job on getting it work.
4 replies | 144 view(s)
-
05-14-2023, 02:41 AM
As @joepasquariello and @wwatson said is its own file system. Its designed for use with NOR or NAND flash chips. On the T4.1 that could be on the QSPI bus as well as on one of the SPI busses for the T4 or T3.x chips. ...
3 replies | 121 view(s)
-
05-14-2023, 02:35 AM
Well you made me look and sure enough the sketch as written uses 309k. Looks like most of that is coming from using IOSTREAM. If I change the sketch to:
#include <iomanip>
//#include <iostream>
using namespace...
84 replies | 3932 view(s)
-
05-14-2023, 02:02 AM
@PaulStoffregen - @KurtE
Based on the testing so far think this would a good idea to add for the next beta - so basically I second what @KurtE said on getting the PR's incorporated
66 replies | 3189 view(s)
-
05-14-2023, 01:18 AM
Just ran across something interesting with the new toolchain and and updating to c17
Found that cout now works (no cin does not) and the c++ function setprecission works. Came across this when I was looking at...
84 replies | 3932 view(s)
-
05-14-2023, 12:39 AM
Thought had crossed my mind when I was working on it. Seems that stuff that we did is always in the back of my mind when I work with the IMU's
66 replies | 3189 view(s)
-
05-13-2023, 11:04 PM
Did a bit more work on the 2 sketches - wanted to see about requesting a data set and receiving just that data or if I wanted all of it so I created a menu on the host side:
Command list
I - Get IMU Data
L - Get...
66 replies | 3189 view(s)
-
05-12-2023, 11:02 PM
As a test I decided to see what would happen if I used a T4.0 as a sensor hub and then send the data via RAWHID. First I pulled out the old sensor board that we used for I2C testing using just the BNO080 and the...
66 replies | 3189 view(s)
-
05-11-2023, 10:02 PM
You may want to check out the spislave_t4 library. Check out this thread to see if it works for you: https://forum.pjrc.com/threads/66389-SPISlave_T4?highlight=spislave_t4
As for really long cables - ditto to what...
7 replies | 164 view(s)
-
05-10-2023, 10:38 PM
Synched up the changes and used RawHid512 to xfer that problematic jpeg up and down. Both xfer's were successful and images displayed correctly - just from that limited test it looks like it works.
66 replies | 3189 view(s)
-
05-10-2023, 10:13 PM
You may want to test the display without trying to use the SD card or the PCA at the same time. Think that the issue is that you need to have the MISO line attached for the SD card to work. Never tried the SD Card on...
7 replies | 114 view(s)
-
05-10-2023, 06:58 PM
First - not sure what display you have, what sketch you are using or what your wiring is. The ST7789 320x240 display that we tested with was from Adafruit...
7 replies | 114 view(s)
-
05-10-2023, 02:28 PM
@KurtE - @wwatson - @defragster
Did some more testing with that one jpeg that showed issues with uploading and downloading with MTP enabled.
Found that if you just comment out the mtp_loop command in the...
66 replies | 3189 view(s)
-
05-10-2023, 11:37 AM
Glad it all worked out. And thanks for turning everything off and testing. Didn't get around to that yesterday :). Even with everything turned off most files I transferred seemed to have not issue except for a few...
66 replies | 3189 view(s)
-
05-09-2023, 08:25 PM
Thats pretty much it. One change you need to make the host sketch
void loop() {
mtp_loop;
myusb.Task();
uint8_t filename;
int cmd = check_Serial_for_command(filename);
if (cmd != CMD_NONE) {
...
66 replies | 3189 view(s)
-
05-08-2023, 11:01 PM
Ditto - me too (playing for fun). Just wanted to let you know.
66 replies | 3189 view(s)
-
05-08-2023, 07:19 PM
Afternoon @KurtE (at least in NY)
Anyways I downloaded the latest and greatest changes you made and tried transferring a 4.8mb jpg.
The sketch says it transferred the file successfully:
...
66 replies | 3189 view(s)
-
05-03-2023, 11:44 AM
It sounds like making "ms" volatile is the safer way to go.
17 replies | 349 view(s)
-
05-02-2023, 09:59 PM
Don;t think I am going to be able to confirm this - I tried connecting with firefox/IE/chrome on Windows 10 and Firefox/chrome on a android phone and could not connect to the ap server. Tried with a airlift featherwing...
186 replies | 8478 view(s)
-
05-01-2023, 11:32 PM
Can you tell me what sketch you are using to test with. If its the sketch in your previous post it does not seem to be working for me. Yet if I run some of the example sketches from WiFiNina or WifiNina-geneic they...
186 replies | 8478 view(s)
-
04-28-2023, 09:01 PM
Cool article Mike - I've seen the overclocking video before which was fun.
1 replies | 211 view(s)
-
04-24-2023, 06:09 PM
@thebigg - @brtaylor
Yes you are right I forgot a copy and paste of that in the examples - didn't seem to be much of impact of leaving it out though that I could tell. Last couple of days been rewicking the example...
16 replies | 994 view(s)
-
04-24-2023, 05:52 PM
Yep - that was what I was looking at - the little breakout board of theirs - really not worth the money to be honest. :)
Thanks for the RTK link will have to check it out.
16 replies | 994 view(s)
-
04-24-2023, 04:57 PM
Hi Brian
And yes - still like the 6050 or the 6500 (but the 9250 grew on me a bit). Not a fan of the new ICM boards for some reason.
as for that ADIS IMU looks like the price just doubled (looked on digikey) :(
...
16 replies | 994 view(s)
-
04-22-2023, 12:30 PM
Got a bit curious about what would happen if going between versions other than what was mentioned. So here goes.
Actually had to run the comparisons twice. On the first set of install downgrades/upgrades...
84 replies | 3932 view(s)
-
04-22-2023, 03:08 AM
Cool let us know how it works out. Any suggestions for new MEMs IMU to play with :)
16 replies | 994 view(s)
-
04-21-2023, 11:01 PM
@brtaylor
Just gave it a test spin using your old MPU-9250 library which has the calibration and FIFO functions still in it (https://github.com/mjs513/invensense-imu/tree/MPU-9250_custom) along with @DonKelly...
16 replies | 994 view(s)
-
04-21-2023, 11:31 AM
The example above is using the QuadEncoder Library.
111 replies | 26525 view(s)
-
04-20-2023, 11:52 AM
Could be - just don't know enough about the risks but now that you mention it might very well - probably should just kill the PR.
Could very well be. The Eigen library is all headers so it seems to work. The UBX...
84 replies | 3932 view(s)
-
04-20-2023, 10:55 AM
@luni - @CollinK
Ran into the same problem with a couple of @brtaylor libraries. Since the libs weren't mine I added ifdef/undef to the top of the sketch before those libs. Did put a PR in to Paul and reported to...
84 replies | 3932 view(s)
-
04-19-2023, 10:02 PM
Yes sir. The ILI9488_t3 lib has been updated with the current stuff
84 replies | 3932 view(s)
-
04-18-2023, 03:31 PM
Madgwick's fusion library caries the MIT License - check out the main branch
16 replies | 994 view(s)
-
04-18-2023, 11:46 AM
Been playing a bit with Fusion using NXPMotionSense lib and FreeIMU Lib. In both cases I started with calibrating using either MotionCal for NXPMotionSense or the FreeIMU Cal GUI:
from MotionCAL
and FreeIMU GUI
...
16 replies | 994 view(s)
-
04-18-2023, 12:40 AM
Files were just deleted between the main branch and the teensy/arduino branch, i.e., here is a screen shot of the main branch:
and my branch
MainBranch Fusion -> TeensyBranch src
Examples -> Examples but added...
16 replies | 994 view(s)
-
04-17-2023, 12:02 PM
Morning Joe
Probably bad wording but basically just restructured the lib for arduino and deleted the python folders, etc.
16 replies | 994 view(s)
-
04-16-2023, 02:38 PM
While updating my version of Fabio Versano's FreeIMU library I was looking for some of Madgwick's old papers and came across the fact the Madgwick changed what we have known as MadgwichAHRS. This occurred with the...
16 replies | 994 view(s)
-
04-15-2023, 04:20 PM
Hi @KurtE
was just looking at colors.cpp and looks like there may be support for RGB565 transparency - not sure:
/**
* alpha-blend `fg_col` over this one with a given opacity in the range 0.0f (fully...
81 replies | 8813 view(s)
-
04-13-2023, 02:28 PM
@KurtE
Pretty much did the same thing as you. Ran Paul's test case, not changes, plus duplicated what you and I saw with running 2 sketches with different USB types.
Like you said looks like that issue is fixed...
84 replies | 3932 view(s)
-
04-13-2023, 11:34 AM
@PaulStoffregen
Was playing around with a library and decided to test propsheild again with NXPMotionsense but noticed that its no longer in the examples list of either 2.0.05 nightly or 1.8.19 with 0.59.2 not sure...
84 replies | 3932 view(s)
-
04-12-2023, 03:31 PM
Just did the merge so the ILI9488 lib should be in sync now with the ILI9341 library.
15 replies | 420 view(s)
-
04-12-2023, 02:01 PM
Nice work @KurtE. Updates to Graphics libs never stop do they.
15 replies | 420 view(s)
-
04-11-2023, 06:48 PM
Not automatically I don't. Only thing I can thing of is to download the commit around that date. Maybe this one dated march 7: https://github.com/arduino/arduino-ide/tree/24dc0bbc88bcfd083e03b0c8601cffb08e8d5728
84 replies | 3932 view(s)
-
04-11-2023, 06:12 PM
If you looked carefully at the issue that @KurtE raised on github you will notice that I found the problem started after the 3/11/23 nightly build. As of the 3/11 build it was working with out a problem
84 replies | 3932 view(s)
-
04-11-2023, 11:15 AM
Actually you are right and my fault for not remembering thanks for reminding me. I actually put in a PR to that back in September 2022 to fix the issue: https://github.com/PaulStoffregen/cores/pull/655. Guess will...
84 replies | 3932 view(s)
-
04-10-2023, 09:54 PM
@Paul - @brtaylor
I was in the process of updating a very old library that I had and all was going well until I was trying to run an example that used the eigen library from @brtaylor...
84 replies | 3932 view(s)
-
04-10-2023, 12:51 PM
Good Morning All - hope everyone had a good day yesterday.
Installed updates in 1.8.19 on a win 10x64 no issue
Compile with faster Talkie Toms_diner example with any errors so old ways still work :)
then tried...
84 replies | 3932 view(s)
-
04-09-2023, 10:50 AM
Still taking my first sips of coffee so confuse easily until after second cup. :)
13 replies | 487 view(s)
-
04-09-2023, 10:42 AM
Ok you lost me Tim. Haven't seen a beta 2 out yet in Boards Manager for 2.0.4 or an anoucement?
13 replies | 487 view(s)
-
04-08-2023, 12:58 AM
You had mentioned trying a different MAC app for MTP and I think @KurtE mentioned one as well. Maybe if you have time to play around with it you can check out one of the other MTP implementations. Good luck
1384 replies | 114960 view(s)
-
04-08-2023, 12:56 AM
Haven't run into that problem - don't think but definitely good to make that change - will have to check on one of the drives I have laying around that never worked
8 replies | 192 view(s)
-
04-07-2023, 09:03 PM
Ok had a chance to get back to this and tried to incorporate your approach with my setup just for testing purposes. Basically logging every minute until the next hour is reach. Here is the sketch:
#include <Wire.h>...
1384 replies | 114960 view(s)
-
04-07-2023, 07:39 PM
@defragster
As I was working on something different I was relooking at the Talkie library. It looks like the latest incarnation of Talkie does a bit of rework to support the Teensies:...
100 replies | 6360 view(s)
-
04-07-2023, 04:46 PM
Thats great news about Laik. Know how it feels when our little ones are not feeling well....
Paul. I do have a question on what you are showing for backward compatibiltiy:
#if TEENSYDUINO >= 159
using...
100 replies | 6360 view(s)
-
04-07-2023, 12:09 PM
@luni
Wow - that was fast. Just going through it now and its great info + a great tutorial :)
Note: probably wont start experimenting until beta2 comes out - just in case :)
100 replies | 6360 view(s)
-
04-06-2023, 10:52 PM
Good question - I never checked
EDIT
Here is the answer: Serial plotter does not plot #1597. Looks like the changed the behaviour:
11 replies | 276 view(s)
-
04-06-2023, 10:25 PM
Took me a while to find the issue. The really interesting thing is if you use 1.8.19 there is no problem with the extra space, problem only exists with IDE2
11 replies | 276 view(s)
-
04-06-2023, 04:12 PM
Thanks Paul and that makes sense based on previous examples.
Ok that makes much more sense now. That first link is great by the way.
A while ago I was looking at this...
100 replies | 6360 view(s)
-
04-06-2023, 12:15 PM
Been trying to follow along with the use cases for inplace_function, especially from a c++ novice point of view. Back on pages 1 and 2 of this thread @Paul and yourself posted several examples (post 1 basically and...
100 replies | 6360 view(s)
-
04-05-2023, 06:22 PM
Benchmark for various C++ function implementations: https://github.com/user706/CxxFunctionBenchmark/tree/feature/sg14_inplace_function
stdex::function<int(int)>: 24
std::function<int(int)>: 64...
100 replies | 6360 view(s)
-
04-05-2023, 04:09 PM
By any chance are you planning on enabling exceptions for C++17 or threading?
100 replies | 6360 view(s)
-
04-05-2023, 01:42 PM
Ok.. Just loaded up the dRehmFlight software and used a MPU6050 and did verify that the SerialPlotter isn't plotting any data. Did manage to trace down the problem, which is kind of strange because it doesn't happen...
11 replies | 276 view(s)
-
04-04-2023, 12:48 PM
the pragma messages were added as a result of going to an updated toolchain in 1.58. 1.57 still uses the old toolchain. You should probably update to 1.58 now that its been released. Paul did issue a PlatformIO update...
86 replies | 3519 view(s)
-
04-04-2023, 12:16 PM
Ok you made me look. Not sure why its giving a warning but maybe has to do with the pragma's used
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wformat-truncation" /* Or "-Wformat-truncation" */
...
86 replies | 3519 view(s)
-
04-03-2023, 10:58 PM
According to the tutorial that @defragster pointed to:
But with that said I did find that with the example I had to open the Serial window first to start the sketch outputting then switch to the plotter window to...
11 replies | 276 view(s)
-
04-03-2023, 10:34 PM
@KurtE - @sbfreddie
Not sure this is still an open issue but decided to play a bit and see if I was having the same issue. So I picked up a BME688 put together a MTP sketch that does three things.
1. Reads data...
1384 replies | 114960 view(s)
-
04-03-2023, 11:22 AM
same here and yes @BriComp the horizontal lines are a bit hard to see in several cases, at least for me.
17 replies | 552 view(s)
-
04-02-2023, 05:54 PM
Sorry was off doing chores. No rest for the weary. As @KurtE said - never use LTO so..
the USBMidi test sketch builds with faster+LTO but has a couple of warnings:...
18 replies | 996 view(s)
-
04-02-2023, 03:48 PM
Ok surprised me :)
Just installed 0.59.1 on windows 10x64 using IDE 2.0.5 nightly 3/11/23:
Tool teensy:teensy-compile@11.3.1 already installed
Tool teensy:teensy-discovery@1.58.0 already installed
Tool...
18 replies | 996 view(s)
-
04-02-2023, 12:16 PM
That really is strange. I just did a simple setup with a KY-040 rotatary encoder attached to pins 1 and 3 to try and duplicate. I then ran the simple encoder example and it did not have a problem working:
You...
111 replies | 26525 view(s)
-
04-02-2023, 11:48 AM
Ok with help from @KurtE I changed the autosave delay to 10000 from 1000:
I then compiled and uploaded your sketch no issues (just a test). I then removed a semi-colon and tried to reload the sketch and received...
86 replies | 3519 view(s)
-
04-01-2023, 11:37 PM
Sorry couldn't find that setting in advanced - more than likely I did but do not know how to set. Probably someone else will
86 replies | 3519 view(s)
-
04-01-2023, 07:45 PM
@W5ZZO @defragster
I will confirm that I compiled with IDE 2.0.5 nightly 3.11.23 with out issue. Even if I randomly removed semi-colons it would throw an error message. So not seeing what you are seeing.
There...
86 replies | 3519 view(s)
-
04-01-2023, 02:23 PM
@W5ZZO
As @KurtE said - strange. Think you should just break down and post your sketch. Tried just haphazardly removing semi-colons but as @defragster said the IDE always gives me a compile error.
86 replies | 3519 view(s)
-
03-31-2023, 12:07 PM
Install went fine - no issues.
Did rerun a couple of tests using the Quad Encoder basic sketch on a MM and @luni's EncoderSim on a T4.1, which worked no issues.
Second quick test I ran was the resolution of the...
86 replies | 3519 view(s)
-
03-31-2023, 11:25 AM
Yep updated to new URL and verified that those are the only versions seen ( using 2.0.5 nightly3/11/23) probably should update to latest nightly.
32 replies | 812 view(s)
-
03-29-2023, 11:06 PM
Thought I saw something where you mentioned that but couldn't find it again. Congratulations. Been retired now for about 7 years. Missed it at first but that went away fairly quickly :)
781 replies | 119074 view(s)
-
03-29-2023, 09:36 PM
@KurtE
Tried your changes with the MIDI test sketches and didn't notice any issues crop up. So thats good.
Then I ran my mtp-test-integrityV2 test sketch and ran 2 writes:
Start Big write of 2048000...
781 replies | 119074 view(s)
-
03-29-2023, 09:19 PM
Installed on windows 10 x64 no issue with IDE
Version: 2.0.5-nightly-20230311
Date: 2023-03-11T03:07:12.638Z
CLI Version: 0.31.0
Install output
Tool teensy:teensy-discovery@1.57.2 already installed
Tool...
32 replies | 812 view(s)
-
03-29-2023, 02:52 PM
@PaulStoffregen - @KurtE - @jmarsh -@yeahtuna
Looks like that fix resolved the issue with removing and replacing the USB Drive while Midi is attached. Did it a few times including hitting the buttons and seems to...
781 replies | 119074 view(s)
-
03-29-2023, 02:08 PM
Just for the record here is a picture of my TMM/T4.1 setup
781 replies | 119074 view(s)
-
03-29-2023, 01:23 PM
@yeahtuna
Yeah - i agree its a hint but as @KurtE said more debugging is needed.
Also forgot to mention, the issue in post #755 happens with the TMM as the primary device.
also, on the T3.6 if BigBuffer is...
781 replies | 119074 view(s)
-
03-29-2023, 01:17 PM
@PaulStoffregen - @KurtE
Looks like there may be issue brewing with MIDI/USBHost, see posts starting around post #727 in the USBHost_t36 USB Mass Storage Driver Experiments thread. Post #737 has the actual...
93 replies | 7280 view(s)
-
03-29-2023, 01:10 PM
Part2.
After the second remove/replace you see that it seems to hang, after the removal but the LED is still blinking, So i hit a button on the T4 a few times and:
USBDrive::disconnect 0x1fff3ce0 0x1fff2884
...
781 replies | 119074 view(s)
-
03-29-2023, 01:07 PM
I switched over temporally to using a T3.6 attached to PC instead of the TMM.
In this case I can remove/replace the USB drive exactly once before it hangs. See next post for further info.
=== Task() Drive...
781 replies | 119074 view(s)
-
03-29-2023, 12:44 PM
@wwatson - @yeahtuna -@KurtE
Now that I am awake I am able to do some more testing.
using the same sketch I tried two things to see where the issue might be.
1. I inserted/removed a USB drive directly into the USB...
781 replies | 119074 view(s)
-
03-29-2023, 01:15 AM
Actually I don;t believe that is the case. Take a closer look at the sketch. Only time a Midi message is sent is when one of the 3 buttons are pressed. and also look at the last line
// MIDI Controllers should...
781 replies | 119074 view(s)
-
03-29-2023, 12:53 AM
@yeahtuna regarding your midi sketch. Been looking at on and off most of the day and there has been something that has been bothering me about especially since I dont play with MIDI for any reason. I guess the thing...
781 replies | 119074 view(s)
-
03-29-2023, 12:00 AM
Ok got it working using the sketch from this thread https://forum.pjrc.com/threads/70227-USBhost_t36-MIDI-losing-midi-note-on-off-events-(Teensy-3-6)-during-modwheel-change?highlight=usbhost+midi+examples.
93 replies | 7280 view(s)