-
Older Activity
-
Yesterday, 09:32 PM
@KurtE and @lokki
Found that I had the same issue with my CTH-480 tablet. Think I may have resolved it for both our tablets. I pushed up the changes for touch to the repository so if you want to give it a try and...
77 replies | 992 view(s)
-
08-11-2022, 08:41 PM
What about touch. The 64 byte message contains the touch data, from your previous post which the update did I believe
77 replies | 992 view(s)
-
08-11-2022, 05:24 PM
and after hacking the digitizer sketch
begin, usage=D0000
type= 2
min= 0
max= 1
reportcount=6
usage count=4
Input, total bits=6
usage = D0042 data = 0
Digitizer:...
5 replies | 94 view(s)
-
08-11-2022, 05:23 PM
Yep. Hacked up the wacom lib a bit and did manage to get one packet before it stop:
HPID(16): 0A C0 FF 7F 99 49 00 00 00 00 00 00 00 00 00 00
begin, usage=D0000
type= 2
min= 0
max= 1
...
5 replies | 94 view(s)
-
08-11-2022, 04:31 PM
I decided to attach a Teensy 3.6 and rerun the DeviceInfo sketch. This time it looks like it picked up both devices but with errors on the tablet:
USB HID Device Info Program
This Sketch shows information about...
5 replies | 94 view(s)
-
08-11-2022, 03:58 PM
If I attach the tablet to a RPI4 and run LSUSB -V it does pick it up.
Bus 001 Device 004: ID 256c:006d
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
...
5 replies | 94 view(s)
-
08-11-2022, 03:56 PM
While playing with the new WACOM Library (https://forum.pjrc.com/threads/70824-USB-host-Teensy-4-1-with-Wacom-Intuos5/page2) I plugged in a HUION Inspiroy H640P Graphics Drawing Tablet and ran @KurtE's new HIDDeviceInfo...
5 replies | 94 view(s)
-
08-09-2022, 04:34 PM
@KurtE
Just gave your updated sketch a try and without turning off debug or changed data"
$HIB:ff0d0000 type:2 min:0 max:255
Digitizer: &usage=100(in:FF000100), usage_page=ff00, value=0(0)
Digitizer:...
77 replies | 992 view(s)
-
08-08-2022, 10:17 PM
At @KurtE's suggestion I changed line 234 or so to <10 so it should look like this
void Intuos5Controller::hid_input_end() {
if (debugPrint_) Serial.printf("$HIE\n");
if (hid_input_begin_count_) {
// now lets go...
77 replies | 992 view(s)
-
08-07-2022, 12:14 PM
Some of the answers may be found in the original thread started by @ftrias: https://forum.pjrc.com/threads/41504-Teensy-3-x-multithreading-library-first-release. Going through it I did find where he gave an explanation...
61 replies | 667 view(s)
-
08-06-2022, 03:32 PM
Just uploaded your code snippet to the Teensy3.5 and yes I got the same results as you did using "printf" however if you change it to just "print" it works, i.e., continuously prints "Threads print"!.
The...
61 replies | 667 view(s)
-
08-05-2022, 01:38 PM
You sure the problem is not a short on the wires to the oled - not sure how you are powering the OLED. I would start there and do a double check. That is about the only thing I can think of at this point.
8 replies | 1066 view(s)
-
08-05-2022, 01:29 PM
You can do that but don't put that code snippet in your sketch. The prints are already in the digitizer class so once you turn debug on you are good to go.
77 replies | 992 view(s)
-
08-05-2022, 01:27 PM
Not stupid question - I sometimes forget to explain fully. Unfortunately you can not turn debug on from the sketch. You have to edit USBHost_t36.h which is located in:...
77 replies | 992 view(s)
-
08-05-2022, 01:08 PM
Might help if you showed how you are connecting the propshield to the LC. Are you sure you are not putting power to ground or something like that. You can get answers if you give us some more details on wiring, whats...
8 replies | 1066 view(s)
-
08-05-2022, 01:03 PM
You might want to turn debug on for testing purposes for the Intuos5 there might be different usage pages involved than the ones with identified in digitizer.cpp. For instance if its turned on:...
77 replies | 992 view(s)
-
08-03-2022, 01:07 PM
Just finished downloading RC9.1 and had to give the Compiling progress bar a test. Really liked that they added that feature - makes it easier to see whats going on.
Release of IDE2 has to be getting closer since...
300 replies | 35578 view(s)
-
08-01-2022, 11:33 AM
Just did a quick read through and just a couple of simple comments.
1. MTP, Improving But Still Experimental: May want to add @defragster since he did a ton of testing and identified a couple of issues.
2. ...
36 replies | 1695 view(s)
-
08-01-2022, 11:05 AM
Morning Paul
Getting a forbidden message in the browser when clicking on the link - can always attach as an HTML page?
36 replies | 1695 view(s)
-
07-27-2022, 12:01 PM
Just finished updating RPI4 with IDE 2.0 RC9 and installing 1.57. Install went well and was able to upload a simple sketch to the new unlocked T4 with no problem.
36 replies | 1695 view(s)
-
07-27-2022, 10:39 AM
Good morning all
IDE2 install went without a problem on the Windows 10 pc. Did see this on the install of IDE2:
Tool teensy:teensy-compile@1.56.1 already installed
Downloading packages
teensy:teensy-tools@1.57.0...
36 replies | 1695 view(s)
-
07-22-2022, 12:40 PM
Only can answer the SREG issue. I ran into that on another project and it is not supported on the T4.x's. You might want to check this thread...
1 replies | 101 view(s)
-
07-21-2022, 12:23 PM
Morning all.
Just did a install on a Windows10 pc x64. Install for IDE2 went well no issues - just took a while for it to update the boards. Shows as 1.57.0-beta4 in the dropdown. Running RC9 now. Did verify that...
25 replies | 723 view(s)
-
07-20-2022, 03:23 PM
If you mean just compile with USB Type as Raw Hid and re-run Kurt's test case the answer is Yes, at least for me. I also tried MTP_Disk and Serial_MTP_DISK and it failed as well. EDIT: Maybe a few minutes later...
300 replies | 35578 view(s)
-
07-20-2022, 03:03 PM
Just did the exact same thing and can confirm it is working!!!! :)
300 replies | 35578 view(s)
-
07-20-2022, 02:49 PM
Paul - is that path right or should it be ...\AppData\Local\Arduino15\packages\teensy\tools\teensy-monitor\1.56.53 thats where teensy-monitor is located for me?
300 replies | 35578 view(s)
-
07-19-2022, 04:05 PM
I can't be 100% sure but don't think your pins are not aligned correctly between the T4 and the audio shield. See audio shield pinout vs your picture:
Particularly note pins on the audio shield versus what's on...
13 replies | 381 view(s)
-
07-17-2022, 11:18 AM
@defragster
Had similar problem when I installed RC8 from the zip (pretty much the same process you did). When I first did installed it and tried to run it did the exact same thing as you described. Eventually I...
47 replies | 3642 view(s)
-
07-16-2022, 10:34 AM
Is this related to https://forum.pjrc.com/threads/70665-%E2%80%8B%E2%80%8Brecent-problem-%E2%80%8Busing%E2%80%8B-teensyduino?
With Teensyduino I have not experienced this particular problem using a Win10 PC. One...
4 replies | 119 view(s)
-
07-16-2022, 10:30 AM
I will ditto what @defragster stated with Defender with the exception that Norton blocked a series of files from the IDE2.0 install. I installed from zip. I had to catch each one and manually exclude it from Norton...
47 replies | 3642 view(s)
-
07-13-2022, 03:19 PM
Ok you all got me curious so decided to run a 3 basic sketches that I pulled off the web. Note: I am running on a T4.0
SUmmary: Sketches 1 and 2 work but sketch 3 fail on writing negative ints to eeprom. Not sure...
76 replies | 5513 view(s)
-
07-12-2022, 05:54 PM
As @KurtE mentioned you don't mention what fonts you are using. Just a couple of things off the top on my head based on the RA8875 library included in Teensyduino.
First setFontScale() method is only applicable to...
9 replies | 196 view(s)
-
07-12-2022, 10:35 AM
Very good point with the expected acceleration on a rocket vs car/drones etc. Should have registered that since you are using the ADXL375 versus the ADXL345!!! Wondering to self how something like the Madgewick or...
31 replies | 810 view(s)
-
07-11-2022, 11:50 PM
Oops thinking about prints. See https://community.platformio.org/t/is-sprintf-thread-safety/10360
12 replies | 344 view(s)
-
07-11-2022, 11:18 PM
Short answer is no. Sprintf goes to serial and as I mentioned should be wrapped in a serial mutex
31 replies | 810 view(s)
-
07-11-2022, 11:35 AM
Glad you got it semi working. Was beginning to dig into the code yesterday but got myself confused with the way its all set up. Is interesting when I was looking at some existing designs it looked like the one from...
31 replies | 810 view(s)
-
07-11-2022, 11:28 AM
Yep that was my reaction as well.
42 replies | 1474 view(s)
-
07-10-2022, 10:56 AM
Yep just confirmed getting those errors. There were some changes to DMA code after initial testing but never reran the Demosauce was testing with attitude indicator and uncanny eyes
42 replies | 1474 view(s)
-
07-09-2022, 12:31 PM
Thanks for posting the code - think it will help us in trying to help you. I haven't done much in model rockets in years so bringing back memories. Only played with Estes/Centurion etc type rockets nothing high...
31 replies | 810 view(s)
-
07-08-2022, 10:43 PM
Know you said the code base is large but maybe if you post the code we can see something or suggest some modifications. We are just guessing at this point. At least for me I have put several sensors in one thread and...
31 replies | 810 view(s)
-
07-08-2022, 11:38 AM
In your description you described that you are reading 2 accel, a gryo and barometer plus doing quaternion math in the same thread. Then in another thread you are doing the datalogging of I am assuming you are logging...
31 replies | 810 view(s)
-
07-05-2022, 12:35 PM
It is interesting that @defragster brought up using FRAM instead of FLASH. Right now you can't use a FRAM chip with QSPI as far as I remember only SPI. It is probably a bit slower but you can still use LFS with it. ...
30 replies | 825 view(s)
-
07-05-2022, 12:14 PM
Sounds like progress and you are having a lot of fun. Going to interesting when you get it completely integrated - then the fun begins to see about using it with MTP :)
Nice work on lext4 by the way. Didn't envy...
1326 replies | 70838 view(s)
-
07-04-2022, 11:50 PM
You could try the font editor from this post: https://forum.pjrc.com/threads/54345-ILI9341_t3-font-editor?highlight=ili9341+fonts
To use it looks like you have to download the ttf files for BankGothic and copy them...
42 replies | 1474 view(s)
-
07-04-2022, 04:13 PM
The answer to that question is it is Teensy Model dependent.
Teensy 4.0, 4.1, Micromod and Teensy 3.6 are not 5v tolerant so you would need a level shifter. For level shifters there are several options I typically...
5 replies | 354 view(s)
-
06-30-2022, 11:04 AM
Think the contrast is excellent for such a small display and the off-axis performance good as well - titled it about 80 deg (just a guess) and was still able to see the display clearly.
42 replies | 1474 view(s)
-
06-30-2022, 11:01 AM
I pushed your updated version to the repository along with the tft_picture_viewer sketch you updated for the GC9A01 display.
42 replies | 1474 view(s)
-
06-30-2022, 11:00 AM
@defragster - sorry just saw the post. Yes @KurtE incorporated those changes into his fork of the SD library. Not sure if its been incorporated into Paul's master SD yet?
1326 replies | 70838 view(s)
-
06-29-2022, 04:15 PM
Ok finally got a chance and downloaded your latest changes seems to be working as long as the cards are in the Builtin slot on Teensy start up. If its not and you insert a card it does recognize that you inserted the...
1326 replies | 70838 view(s)
-
06-29-2022, 01:18 AM
@MichaelMeissner
Have no idea to be honest - been so long here as well since I played with those displays. Been busy with other stuff besides Teensy today :)
EDIT: Oh by the way managed to implement rotating a...
42 replies | 1474 view(s)
-
06-27-2022, 09:55 PM
@KurtE
Gave it a quick test run - nothing extensive and mostly with a hub attached more of stress test on the add/remove feature. It does work:
1. Using my M2 drive inserted on boot up it recognizes and I can remove...
1326 replies | 70838 view(s)
-
06-27-2022, 07:54 PM
;)
Cool can't wait to see what you come up.
42 replies | 1474 view(s)
-
06-25-2022, 11:39 PM
Ok guys just implemented a Attitude Direction Indicator (ADI) using the new library with the additional feature of using transparent BMPs. Really experimental. Here is a short video of it in action:
Enjoy
42 replies | 1474 view(s)
-
06-25-2022, 11:22 PM
Evening Michael
Sorry was kind of sidetracked today with trying to get transparent BMP working - think I kind of got it working. But yes should be transparent since we are working with same base display driver. As...
42 replies | 1474 view(s)
-
06-25-2022, 08:06 PM
Used an approach that @KurtE used:
#define SD_CS BUILTIN_SDCARD
File imageFile;
const char *name = nullptr;
and in the body (setup in my case)
imageFile = SD.open("Horizon_GroundSky.bmp", FILE_READ);
name =...
54 replies | 1564 view(s)
-
06-25-2022, 01:16 PM
Good Morning all
@KurtE and I have been at it again. Recently we started playing with a WaveShare GC9A01A 1.28 Round Display as shown below.
Since we cannot leave well enough alone we modified the ILI9341_t3n...
42 replies | 1474 view(s)
-
06-23-2022, 02:10 PM
Been experimenting after and during Kurt's post. The issue is definitely in MTP_Storage.h and use of the has_include. For instance (after some trial and error) I just did this:
//#if defined(__has_include) &&...
15 replies | 405 view(s)
-
06-22-2022, 11:34 PM
Yep you are right was looking at wrong lib for some reason - should have mine tomorrow by tomorrow night
29 replies | 875 view(s)
-
06-22-2022, 08:49 PM
Its not throwing an error but giving a warning - I am seeing that periodically as well - you can safely ignore it. Honest know what it means but not sure why we are seeing it.
54 replies | 1564 view(s)
-
06-22-2022, 08:45 PM
I just ordered a MAX31865 + cable and will give it a try. Looking at the Adafruit MAX31865 libaray though it looks like they are using SPI MODE1 not MODE0, i.e.,
spi_dev(spi_cs, 1000000, SPI_BITORDER_MSBFIRST,...
29 replies | 875 view(s)
-
06-22-2022, 08:29 PM
well, does kind of matter if you are using SD with the T4's. With the Teensy libraries the SD library is linked to the SDfat library and LittleFS and MTP are all integrated with the FS stuff for the Teensy. That;s...
54 replies | 1564 view(s)
-
06-22-2022, 12:45 PM
@SteveSFX
This looks a little strange to me. Looks like your sketch is using the SD library that is in your libraries folder.
C:\Users\steve\Documents\Arduino\libraries\SD\src/SD.h
You might want to check if you...
54 replies | 1564 view(s)
-
06-22-2022, 12:35 PM
@EcodroneSRL
The link kd5rxt-mark pointed to I believe gives you the answer to your question on whether you can use a SPI device on one of the QSPI slots. You would have your work cut out for you. However with...
2 replies | 179 view(s)
-
06-21-2022, 10:09 PM
Ok was playing a bit and think I found the solution for the exFAT formatting issue but it requires a minor change to the SD library:
if (ret) {
// TODO: Is begin() really necessary? Is a quicker way possible?...
1326 replies | 70838 view(s)
-
06-21-2022, 09:07 PM
@defragster - here is a snapshot of my flash after I ran the t option and it failed because disk was full. NOTE the many sub directories that were created:
kind of shows that LFS can create sub-directories. Yes I...
1326 replies | 70838 view(s)
-
06-21-2022, 11:50 AM
Not sure that statement is correct that QSPI Flash can only write 2 dir deep. I just ran your updated test sketch using the 't' command and you can see clearly it created the several levels of directories until the...
1326 replies | 70838 view(s)
-
06-20-2022, 07:46 PM
@KurtE - @defragster
Just tried coping those 1656 files from SD1 to SD2 using mtp_test_integrity 3 different ways - ExtMem, PrgMem and MemFile for where the index file is located.
All three ways failed to copy...
1326 replies | 70838 view(s)
-
06-20-2022, 07:30 PM
@defragster - ok you answered my question as I was typing it
Total 1656 files of Size 14497750 Bytes Verify Errors 0 2492.506248 msec
Bytes Used: 67928064, Bytes Total:31902400512
---- Task 'v' complete! ----
...
1326 replies | 70838 view(s)
-
06-20-2022, 07:26 PM
Ok that worked
================================ Media Size=31902400512 Used Size=20086784 us=1078072 KB/sec=3623.37 Bytes written=4000000
MakeData done.
---- Task 't' complete! ----
D0.20 / ...
1326 replies | 70838 view(s)
-
06-20-2022, 06:59 PM
@defragster
I am using a 32GB SD Card in SDIO and without using you LFS option. And yes I am using Test Files write 2206 option
I downloaded your latest version and got this error about writing files to the disk...
1326 replies | 70838 view(s)
-
06-20-2022, 01:36 PM
Using my mtp_test_integrity sketch and using an index file in program mem I first ran you makeFiles using the 't' option and verified the files on the Builtin_sd card. I then copied them to "SD1" and then from "SD1"...
1326 replies | 70838 view(s)
-
06-18-2022, 11:59 PM
Was poking around the issue and noticed you referenced https://github.com/arduino/arduino-ide/pull/893 which has been closed but if you scan through all the comments I noticed this:
but not sure it related to the...
300 replies | 35578 view(s)
-
06-17-2022, 05:04 PM
Just checked on Windows and does the same thing as you showed
300 replies | 35578 view(s)
-
06-17-2022, 04:17 PM
Just checked on the Pi4 as well and only one port gets enumerated as opposed to the 2 in Windows for the Teensy 4.1
Sketch is a bit different but same idea. Its reading a GPIO pin on the PI4 and telling me data is...
300 replies | 35578 view(s)
-
06-15-2022, 07:15 PM
Well they copied from the PC to the flash. I did verify that they were on the flash via MTP of course. Yet they did not copy down from the flash to PC - not sure why when everything else did.
30 replies | 825 view(s)
-
06-15-2022, 06:21 PM
Yep should be DID NOT transfer - typed it too fast
Probably formatting would be good.
Of course makefiles is useful. In comes in handy for certain testing.
30 replies | 825 view(s)
-
06-15-2022, 04:37 PM
Using @defragster MakeFiles sketch running the 't' and 'b' options it created 1,151 Files in 49 Folders on the Builtin SDCard. I copied the files from SD Card to the PC using MTP and then copied the files to the...
30 replies | 825 view(s)
-
06-15-2022, 03:08 PM
@PaulStoffregen - @KurtE - @TeensyDigital
Using Arduino IDE 1.8.19 and TD1.57beta3 I switched back to using the smaller blocksizes that we originally had in LittleFS (4096 versus 32/64K) and reran the sketch in post...
30 replies | 825 view(s)
-
06-15-2022, 02:59 PM
I noticed that as well this morning as well when I switched from the PI4 to windows to receive data using the PC. I don't remember having that issue with the PI though.
300 replies | 35578 view(s)
-
06-14-2022, 05:14 PM
@PaulStoffregen
Think I got it isolated. Using 1.8.15 + TD155 plus the following changes to LittleFS Libary
Updated LFS library to 0x00020004
Updated the LittleFS for change blocksize and blockerase (equivalent to...
30 replies | 825 view(s)
-
06-14-2022, 03:13 PM
Understood - going to see how much I can isolate it down without breaking things :) As you said you have enough on your plate
30 replies | 825 view(s)
-
06-14-2022, 03:11 PM
I installed Aduino 1.55 and TD1.55 (closest I could get) and verified that the LittlFS had the smaller block sizes and earlier revision of LittleFS (0x00020002) running the sketch #1 with 1 minor change:
...
30 replies | 825 view(s)
-
06-14-2022, 01:28 PM
Yes we did but when we tested the changes we didn't see much difference. I am still going to do some more testing because I am now curious.
30 replies | 825 view(s)
-
06-14-2022, 01:11 PM
Yes there were some changes, was kind of a tradeoff process. The main thing was that the blocksizes increased which means you are going to get a performance hit for small files (less than a block). Blokc sizes are now...
30 replies | 825 view(s)