With the SD library with SPI1 and SPI2...
Look at the Examples->SD->SdFat_Usage example
It shows some example on how to do things like that, including:
//ok =...
Type: Posts; User: KurtE
With the SD library with SPI1 and SPI2...
Look at the Examples->SD->SdFat_Usage example
It shows some example on how to do things like that, including:
//ok =...
Good luck. I know at least with some RPI like TFT displays I have played with. They roll their own and maybe don't use any standard chipset like the SSD...
Obviously it will depend on which display you are trying to use...
But for example SSD1306 - I would try Adafruit_SSD1306
They have a constructor:
Adafruit_SSD1306(uint8_t w, uint8_t h,...
Good morning all (at least my time zone)...
So far I have not seen the SD Pull Request (https://github.com/PaulStoffregen/SD/pull/43) has not been merged.
I am debugging this now. Note...
I have an RPI 4 running Ubuntu 2204, I programmed a T4 with the sketch installed evtest...
It has been running maybe 30 minutes and every time I jumper from T2 or T3 to GND
I receive the events...
Hard to know...
For example how is your Audio Shield hooked up? Is it the proper Audio Shield for the Teensy 4.x?
What is: SDCARD_CS_PIN set to?
I am assuming pin 10?
Are there other things...
Thanks, my guess then is:
If you updated your Teensyduino version, it overwrote your changes to the core files.
Look at the Readme file of: https://github.com/dmadison/ArduinoXInput_Teensy...
Sorry, I don't find that symbol in anything when I do a search in my case <arduino.1.8.19/hardware/teensy/avr>
So I have no idea what it might be.
It might help someone to help you if you...
It Works!
28837
The simplest thing is if you look at the T4.1... For example card:
28834
Is don't use the +5V pin marked on the 5 pin USB Host connector. Instead use your +5v power, possibly with a fuse
Quick update:
I am trying an experiment with the SD drives and the notification event we send to host...
#if 1
MTP.send_StoreRemovedEvent(storage_index);
delay(5);...
I am sure there are options to give you a list file. Been awhile since I have looked..
The Arduino build gives you a .sym file which tells you where everything is located...
I then sometimes...
Yes you can connect to those pins, not sure about any specific header for it. But if you find one that works...
I experimented using a few breakout boards and did a quick and dirty castellated...
There are 3 on both t4 and t4.1. But 3rd on sd pins and on T41 on bottom memory chip pins
:D
Looks like my one should arrive in town tomrrow
Some updates on MTP and MSC (USBDrive/USBFilesystem):
I have been playing with some of the what I think of as missing pieces within the MTP and USB Filesystem code. In particular how to make it...
The easiest way to do it, is simply do the pinMode(12, OUTPUT) after the call to SPI.begin();
Question that I have had with this, is, are you using the exact same setup for breadboard versus your board? Or you using someone else's breakout board or your own with same
CAPS, Resistors, ???...
Yes - as you mentioned it is simply the pinouts changed. You just need to be careful when you wire it up. One of Paul's T4 Beta test boards had socket on it for the Rev C (this was before there was...
It will depend on how your code on the Teensy, in particular, what USB type you are building with. If it is Serial or one of the other ones with name like: Serial + <XYZ> then it is using standard...
Look great
Sorry still over cell connection
Or if using SD.h then instead hard code…
Could use MAX_FILENAME_LEN
which is a define in that header file
Edit I believe font files were fixed so you may...
Looks like we missed one… will look soon but network down…
As @kd5rxt-mark mentioned use an array...
Quick follow on to that:
Today @mjs513 posted about a new library for the round display in the thread:...
Great stuff, Will be fun to try it out, once mine arrives. Should hopefully arrive within the next week...
Just an FYI - This hub has been mentioned before as working back in 2017 in the thread:...
How did you install the Arduino? Did you download from arduino.cc?
As mentioned in the download and install instructions: https://www.pjrc.com/teensy/td_download.html
Good luck.
I also have one on order... I found the other hub, that I ordered back then
Again Sorry, as I mentioned I have never used Joysticks on PC so it is unclear to me, what application code uses on the different platforms.
And/Or is it configurable.
I know some google...
I just tried it on my Windows machine:
C:\Users\kurte\Documents\Arduino\libraries>arduino-cli board list
Port Protocol Type Board Name FQBN Core...
You might also want to search the forum for other threads on joysticks which change the usb descriptor.
Like the thread: https://forum.pjrc.com/threads/23681-Many-axis-joystick
Sorry for some reason I thought there were 14 sliders not 15...
As for how the hosts deal with a non-standard setup... Not sure. Sorry Maybe someone who uses these might have some more insight
Quick FYI - Yesterday RC8 of the IDE was released.
If you have others installed that is not ancient, when you start it up, they will ask you if you wish to download and install...
Not sure I have not tried the CLI in a long time.. I am mainly experimenting with the IDE 2
If it were me, I would probably double check using 2nd Teensy. Like I show here...
I did a little playing:
I did not edit your last usb_desc.c file
I did edit usb_desc.h to make sure the 64...
The Amazon page said I ordered one of these 5 years ago... Don't remember it, but will look around and see if I find it
Again it appears to work on my Ubuntu 22.04 machine.
28792
Note, I am running TyCommander here 0.9.0-107...
Which I built from current sources
Edit oops, the picture before was without...
Some Hints: Linux... Which? Something like Ubuntu? Which version?
And you are running 1.8.13 and 1.53...
Maybe time to boot up my Ubuntu 22.04 setup.
There is also a thread, called something like the website could use some updates. That had tons of pages on it.
So Paul creates a Github project, I mentioned that he asked for some of us to go...
Sorry, I am probably missing some things, but for example I believe there may be some problems with your descriptor.
For example in this part of your descriptor:
0xA1, 0x00, ...
Thanks for the report...
I went ahead and created a new issue https://github.com/PaulStoffregen/Website_Updates/issues/31
In Paul's web site needs updates github project. So hopefully he will...
Again Hard to know what exactly what is going on, with your setup.
I am running Windows 10 Arduino 1.8.19 Teensyduino 57 beta 3...
But I just loaded the basic example under USB type rawhid, and...
I read it... But it did not fully register... :o
On the Issue, I created on CLI... matthijskooijman commented 24 minutes ago
So I don't think this approach will work as transparent as I was...
It might work... as long as the implementation for it is within the .h file... Although maybe would still work
if the __has_include_ is not in the .h file but in the couple of .cpp files that rely...
OK, I think I know what is going on...
It is Arduino's fault! (I think)
A few hints on it, with the build that works, the build output looks like:
...
I believe that 2.2 is the current released one.
I do have my own version, although not sure if I changed the version number.
I did add a few things I could remove, that I used to debug... Like...
Sorry, I think my example may be too convoluted. let me get to the real one.
I am trying to make MTP_Teensy, automatically add support to detect if an SD card was inserted or removed from the...
I am playing around with some MTP stuff and trying to detect if the Sketch is using SD library or not... So __has_include...
But I am getting strange results.... Or at least the feel strange to...
@roberthh - Note: the gaps in the address was a red herring...
I have since then done a PR, which has been merged for CircuitPython
https://github.com/adafruit/circuitpython/pull/6425
The...
@jensa
I keep meaning to mention, that for example reading one byte at a time code like this:
uint32_t spiread32B(void) {
uint8_t buf[4] = {0,0,0,0};
uint8_t buf2[4] = {0,0,0,0};
...