I looked in my cabinet in box and found I still had the 3.97" version connected up to T4.1 and so tried running my example sketch
Kurts_NT35510_t4x_p_FB_and_clip_test... and it looks like it still works. Could still be some bugs like fillscreen...
Just to repeat, power the display with 5V power and leave the SDA and SCL pins unconnected. Turn the pot while watching the display. The pot will probably be able to turn about 240 to 270 degrees. Don't apply too much torque, as these tiny...
Sorry, I have not looked at this stuff probably going on 2 maybe 1 3/4) years now...
Wild guess or what I would maybe try add:
lcd.setBusWidth(16);
Before lcd.begin()... or Maybe just before your call to setFlxIOPins (which you probably don't...
Looks like we're again being targeted by overly aggressive bots.
If you experience the forum responding unusually slow or not at all, please make a note of the time and reply here when it's working again. A list of date, time, timezone of...
From this I am assuming you are trying to use an USB C to some form of adapter to the USB Host pins?
You might try one of the USBHost Serial examples to see if you get anything...
My quick look and I did not find any HD44780 that are 24x2... so probably not much help
Did find some on EBAY that are BOLYMIN BC2402A
Not sure if that is similar?
I commented on the FlexIO PR that my quick look, that it looks reasonable, but that @PaulStoffregen probably should also take a look and if it looks fine to him, great will pull it in
The issue with creating several new threads on related issues is that a lot of people may not see what has or has not been suggested on the previous threads and can lead to a lot of duplicated effort.
And it looks like the same starting example...
Looks like this is a semi-duplicate of the thread ?
https://forum.pjrc.com/index.php?threads/may-i-contact-to-bleep-labs.77791/
Although probably a better name for it.
Good luck
The first like was the commit that Paul did to his Audio library to add the text of the bleep labs... I was suggesting you might look back to that and see what other Pull Requests Paul did at about that time.
I was also sort of suggesting you...
Sorry, I am not an Audio person...
But I looked up at the library, and it looked like the comment about "Bleep Labs" was made by Paul like 8 years ago.
https://github.com/PaulStoffregen/Audio/commit/f702d20ea591572313dccdc0c8d4add48517eea1
You...
Sorry I don't use VS Micro... but:
I edited the file <Arduino15>\packages\teensy\hardware\avr\1.60.0\cores\teensy4\MPT_Teensy.h
I changed the section like:
// modify strings if needed (see MTP.cpp how they are used)
#define MTP_MANUF "PJRC"...
I have completely fixed the scrolling problem I was having.
I found an other ScollTest example for the ST7735_t3 library that had the proper use of the frame buffer in it.
All that was needed was to enable the frame buffer before the scroll...
This depends on ...
That is for example with Teensy 3.x boards, display drivers using hardware CS pins for both CS and especially DC can get a very significant speed up. Why? note I am going to use psuedo names for commands.
For example...
Actually I may be wrong... I have not played much with the Scrolling stuff, built into the chip itself.
That is command 33h
Note the description continues for about the next 3 pages in the PDF...
And then there is Command 37h
Which also...
It has been awhile since I looked at that sketch.
I don't remember if all/most of these displays support the MISO pin, to be able to read the contents of the memory back, to then output...
Or if that was required on these chips as there may be...
In the ST7789_t3.cpp file you will see the function setRotation
void ST7789_t3::setRotation(uint8_t m)
{
beginSPITransaction();
writecommand(ST7735_MADCTL);
rotation = m % 4; // can't be higher than 3
switch (rotation) {
case 0...
Sort of interesting that there is a new thread up on the Arduino Forum about what the heck is this Teensy 4 Security stuff...
https://forum.arduino.cc/t/teensy-4-security/1435688
Including instructions by PerT on how to remove it if you don't...
Not sure if this one will help you: This is one of the pages in my Teensy 4.x excel document...
Pin
MM Pin
OV767X Shield
MM ATP
MM Func
Name
GPIO
Serial
I2C
SPI
PWM
CAN
Audio
XBAR
FlexIO
Analog
SD/CSI/LCD
00
19
UART_TX1
*
AD_B0_03
1.3...
Go to the Arduino15 directory.
https://support.arduino.cc/hc/en-us/articles/360018448279-Open-the-Arduino15-folder
then open packages\teensy\hardware\avr\(your version)\libraries
When you are saying this, is it some new carrier board, or the old ATP board: https://www.sparkfun.com/sparkfun-micromod-atp-carrier-board.html
I have at least a couple of these and so far no problems. Although sometimes have some flaky issue...
Wondering if you are actually gaining anything with the big_screen_t4 version of the ST7796? Also not really sure how much
you are saving with using updateScreenAsync() verus simple updateScreen? That is in cases like:
That is, you have:
if...
Hallo
I used Teensy 4.1 and ST7796S 3.5inch ISP TouchDisplay from WaveShare. For the TFT Display i used ST7735_t3-dev-big-screen-t4 Library and bitbank2/JPEGDEC@^1.8.4 with DMA. CPU speed is 720Mhz and SPI speed 60MHz. Display cable length is 9cm.
This is the decoder on an ST7796 display.
The code is up in my project: https://github.com/KurtE/mtp_tft_picture_view
Conditional on several different displays
The code allows you to give a few different functions, to do things like, read in...
Not sure how well it would work for you, but the Jpeg decoder I have played with is:
https://github.com/bitbank2/JPEGDEC
My SD Viewer sketches also view PNG files using:
https://github.com/bitbank2/PNGdec
Example output read in from SD Card...:
The one I sell has a 74LVC245 high-speed buffer chip which we have run the SPI at 80MHz to the display, so the SD should work with Teensy from that standpoint, but I haven't tried it. The one from Amazon does appear to be the same display.
A...
All interesting stuff. However a lot of this may also depend on your usage cases. For example if you are always drawing full screen images, or
filling the screen with a solid color, then using DMA could be slower if you can not do anything else...
Probably in the same way that Shift keys are detected in the code:
They detect the 0x12 key as the left shift, for press and release. And then they use the knowledge that the Shift is pressed or not pressed.
To decide which of the tables to use...
No idea about your ArduinoXInput_Teensy... But that is for USB to PC so should not matter.
Note: Would not expect that controller to do anything with a Mouse related sketch.
You might try the Joystick example sketch, although would not be...
The USBDeviceInfo - Does not show anything about the Interfaces and HID stuff?
Not much to go on?
Also the information for a GameSir-G7 Pro, sounds like maybe a Gamer controller...
For what it is worth, been playing around with some of the ST7796 displays 480x320 capacitive touch,
SD adapter not sure I have done much with it.
https://www.amazon.com/dp/B0CMD7Y55M?
Which I believe is the same one that Proto Supplies puts on...
Note: In the past I have had issues with SD adapters, like ones from Sparkfun that had level shifters in them. Worked fine on their
non-level shifters version. If I remember correctly the Adadfruit one with level shifters usually works...
Thanks Paul,
I double checked as well, and my first attempt may have been User error.
That is I used the Serial Monitor of the Arduino IDE to talk to the Teensy, and used the USBtoUSBHostSerial sketch...
However the USB monitor overwrote my...
Sorry it has been a long time since I looked at it:
Sometime today, my order for:
https://www.amazon.com/dp/B08ZS6H9VS?th=1
Should arrive in town, not sure when I will be there to pick it up.
It might have been:
a) Stuff we decoded using...
Yep, I tried running...
The USBtoUSBHostSerial sketch:
*** Device USERIAL 10c4:ea60 - connected ***
manufacturer: Silicon Labs
product: CP2104 USB to UART Bridge Controller
Runs...
This is simple loop back test. RX connected to TX. But...
Paul - from the one Adafruit USBHost_t36 issue, I believe you mentioned you purchased one of these:
https://www.adafruit.com/product/3309
I did find this one, will try it. (it was hooked up to one of my Arduino GIGA R1 as my debug hookup)
The...
I don't have any CP2105 adapters, but I had CP2102 which are single port... Not sure if I still had the one as I think I may have fried one once...
But will have one arriving in the next few days... Sometimes I never have enough Serial to USB...
To answer this specific question:
No, Claude completely misunderstood how interface claiming works. It tried to add unnecessay code to remember which interfaces had been claimed. But that wasn't the problem at all, and can't even become a...
To quickly show how I tested, I connected the CP2105 cable to a Teensy 4.1. I connected each of its ports to a single-port FTDI USB serial cable.
The cable for Teensy 4.1 and the two FTDI cables plugged into this USB hub which connects to my...
How hard did you look?
Example the Sparkfun USB-C Host Shield I gave a link to has a schematic part of it's documentation.
If you look at the different clones on Amazon you will find things like, this product...
To scroll the text as seen in the video there is a bit more needed and well my PrintandScroll_RX function see code below, here words are not broken if at end of line but copied at incoming line.
I hope other people like this for CW, PSK and RTTY...
Back in 2018/19 I tried one of these: https://www.amazon.com/dp/B01EWW9R1E?th=1
Never had much luck with it. I had better luck with: https://www.amazon.com/dp/B01MZ977T4, which looks like
that version is no longer available, however the sell...
Glad to see you were able to optimize the scroll scroll function for your application :)
You might want to look at a newer version of RA8876liteteensy that allows you to use the parallel 8080 8/16bit communication bus. This also could be an...