Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: KurtE

Page 1 of 10 1 2 3 4

Search: Search took 0.07 seconds.

  1. Thread: SD card on a 4.0

    by KurtE
    Replies
    53
    Views
    775

    With the SD library with SPI1 and SPI2... ...

    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 =...
  2. Replies
    6
    Views
    172

    Good luck. I know at least with some RPI like...

    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...
  3. Replies
    6
    Views
    172

    Obviously it will depend on which display you are...

    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,...
  4. Good morning all (at least my time zone)... So...

    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...
  5. Replies
    11
    Views
    186

    I have an RPI 4 running Ubuntu 2204, I programmed...

    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...
  6. Hard to know... For example how is your Audio...

    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...
  7. Replies
    4
    Views
    138

    Thanks, my guess then is: If you updated your...

    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...
  8. Replies
    4
    Views
    138

    Sorry, I don't find that symbol in anything when...

    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...
  9. It Works! 28837

    It Works!
    28837
  10. Replies
    4
    Views
    105

    The simplest thing is if you look at the T4.1......

    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
  11. Quick update: I am trying an experiment with...

    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);...
  12. Replies
    3
    Views
    171

    I am sure there are options to give you a list...

    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...
  13. Replies
    3
    Views
    117

    Yes you can connect to those pins, not sure about...

    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...
  14. Replies
    3
    Views
    117

    There are 3 on both t4 and t4.1. But 3rd on sd...

    There are 3 on both t4 and t4.1. But 3rd on sd pins and on T41 on bottom memory chip pins
  15. :D Looks like my one should arrive in town...

    :D

    Looks like my one should arrive in town tomrrow
  16. Some updates on MTP and MSC...

    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...
  17. The easiest way to do it, is simply do the...

    The easiest way to do it, is simply do the pinMode(12, OUTPUT) after the call to SPI.begin();
  18. Question that I have had with this, is, are you...

    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, ???...
  19. Replies
    11
    Views
    247

    Yes - as you mentioned it is simply the pinouts...

    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...
  20. Replies
    5
    Views
    125

    It will depend on how your code on the Teensy, in...

    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...
  21. Look great

    Look great
  22. Thread: SD card on a 4.0

    by KurtE
    Replies
    53
    Views
    775

    Sorry still over cell connection Or if using...

    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...
  23. Thread: SD card on a 4.0

    by KurtE
    Replies
    53
    Views
    775

    Looks like we missed one… will look soon but...

    Looks like we missed one… will look soon but network down…
  24. Thread: SD card on a 4.0

    by KurtE
    Replies
    53
    Views
    775

    As @kd5rxt-mark mentioned use an array... ...

    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:...
  25. Great stuff, Will be fun to try it out, once...

    Great stuff, Will be fun to try it out, once mine arrives. Should hopefully arrive within the next week...
  26. Just an FYI - This hub has been mentioned before...

    Just an FYI - This hub has been mentioned before as working back in 2017 in the thread:...
  27. Replies
    11
    Views
    1,609

    How did you install the Arduino? Did you download...

    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.
  28. I also have one on order... I found the other...

    I also have one on order... I found the other hub, that I ordered back then
  29. Replies
    10
    Views
    151

    Again Sorry, as I mentioned I have never used...

    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...
  30. Replies
    256
    Views
    30,974

    I just tried it on my Windows machine: ...

    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...
  31. Replies
    10
    Views
    151

    You might also want to search the forum for other...

    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
  32. Replies
    10
    Views
    151

    Sorry for some reason I thought there were 14...

    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
  33. Replies
    256
    Views
    30,974

    Quick FYI - Yesterday RC8 of the IDE was...

    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...
  34. Replies
    256
    Views
    30,974

    Not sure I have not tried the CLI in a long...

    Not sure I have not tried the CLI in a long time.. I am mainly experimenting with the IDE 2
  35. Replies
    10
    Views
    151

    If it were me, I would probably double check...

    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...
  36. The Amazon page said I ordered one of these 5...

    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
  37. Replies
    8
    Views
    222

    Again it appears to work on my Ubuntu 22.04...

    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...
  38. Replies
    8
    Views
    222

    Some Hints: Linux... Which? Something like...

    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.
  39. There is also a thread, called something like the...

    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...
  40. Replies
    10
    Views
    151

    Sorry, I am probably missing some things, but for...

    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, ...
  41. Thanks for the report... I went ahead and...

    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...
  42. Replies
    8
    Views
    222

    Again Hard to know what exactly what is going on,...

    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...
  43. I read it... But it did not fully register... :o...

    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...
  44. It might work... as long as the implementation...

    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...
  45. OK, I think I know what is going on... It is...

    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:

    ...
  46. I believe that 2.2 is the current released one....

    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...
  47. Sorry, I think my example may be too convoluted. ...

    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...
  48. __has_include() how is it supposed to work?

    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...
  49. @roberthh - Note: the gaps in the address was a...

    @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...
  50. @jensa I keep meaning to mention, that for...

    @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};
    ...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4