Latest activity

  • J
    For a while now, I have not liked having #ifdef tables defined in a different places in the cores or libraries to handle the differences in Arduino pins that are on each of the different boards. It made it more complicated when PJRC releases a...
  • KurtE
    This is similar to way we do it with the cameras as well. Mine is showing the same thing but if you translate the chinese to english from the 17allinonr link looks like its in the airlines possesion now:
  • D
    @KurtE well done on the chages to the FlexIO library as well as the display driver. I think this brings us closed to one library that supports all boards, be able to automatically detect which instance to use as well. Eg 8-bit with DMA on a...
  • R
    @KurtE well done on the chages to the FlexIO library as well as the display driver. I think this brings us closed to one library that supports all boards, be able to automatically detect which instance to use as well. Eg 8-bit with DMA on a...
  • mjs513
    This is similar to way we do it with the cameras as well. Mine is showing the same thing but if you translate the chinese to english from the 17allinonr link looks like its in the airlines possesion now:
    • 1718393257660.png
  • wwatson
    Looks like someone did it :D Great Stuff: Note: I have started to play with this: I have a branch in @mjs513 fork: https://github.com/mjs513/ILI948x_t4_mm/tree/gfx_flexio Where I have started working on this: Note: There are a few optional...
  • D
    Looks like someone did it :D Great Stuff: Note: I have started to play with this: I have a branch in @mjs513 fork: https://github.com/mjs513/ILI948x_t4_mm/tree/gfx_flexio Where I have started working on this: Note: There are a few optional...
  • KurtE
    Looks like someone did it :D Great Stuff: Note: I have started to play with this: I have a branch in @mjs513 fork: https://github.com/mjs513/ILI948x_t4_mm/tree/gfx_flexio Where I have started working on this: Note: There are a few optional...
  • R
    For a while now, I have not liked having #ifdef tables defined in a different places in the cores or libraries to handle the differences in Arduino pins that are on each of the different boards. It made it more complicated when PJRC releases a...
  • KurtE
    Sweet. That sketch I am sure will come in handy especially when I forget pin number conversions :)
  • D
    For a while now, I have not liked having #ifdef tables defined in a different places in the cores or libraries to handle the differences in Arduino pins that are on each of the different boards. It made it more complicated when PJRC releases a...
  • mjs513
    Sweet. That sketch I am sure will come in handy especially when I forget pin number conversions :)
  • mjs513
    For a while now, I have not liked having #ifdef tables defined in a different places in the cores or libraries to handle the differences in Arduino pins that are on each of the different boards. It made it more complicated when PJRC releases a...
  • KurtE
    For a while now, I have not liked having #ifdef tables defined in a different places in the cores or libraries to handle the differences in Arduino pins that are on each of the different boards. It made it more complicated when PJRC releases a...
  • PaulStoffregen
    PaulStoffregen replied to the thread Audio Shield.
    Maybe a bit optimistic to fit any part between the SD socket and header/socket pins?
    • 1718387552157.png
  • PaulStoffregen
    PaulStoffregen reacted to h4yn0nnym0u5e's post in the thread Audio Shield with Like Like.
    Sure. Give more detail about what you want when posting. That’s good advice :)
  • J
    jvphotog reacted to h4yn0nnym0u5e's post in the thread Ticking Noise with USB with Like Like.
    The stock USB audio can have a few sync issues, leading to dropped or extra samples. If you’re feeling brave you could try the update linked here. You may or may not want to change the channel count, but it’s worked well for me on Windows - be...
  • h4yn0nnym0u5e
    h4yn0nnym0u5e replied to the thread Ticking Noise with USB.
    The stock USB audio can have a few sync issues, leading to dropped or extra samples. If you’re feeling brave you could try the update linked here. You may or may not want to change the channel count, but it’s worked well for me on Windows - be...
  • h4yn0nnym0u5e
    h4yn0nnym0u5e replied to the thread Audio Shield.
    Sure. Give more detail about what you want when posting. That’s good advice :)
  • Cviet
    Cviet posted the thread Audio Shield in General Discussion.
    Any good advice?
    • 屏幕截图 2024-06-14 221658.png
  • K
    thank you. i tried another AS7265X sensor on PINS 19-18 , and the result of the scan is 13:14:13.681 -> Scanning... 13:14:13.760 -> I2C device found at address 0x49 ! 13:14:13.760 -> done but when i try to print the data from sensor using its...
  • T
    I mentioned this issue in a different thread (different problem) but I wanted to open a new one specific for this. The problem I'm having is this: When using the USB audio output to a DAW, after a while playing (not exact time, but around...
  • R
    Rezo replied to the thread Teensy 4.0 and non DMA I2S transfer.
    @Jean-Marc can you point me to a working version of the non DMA i2s code? I looked through some of you github repos but couldn't spot it
  • J
    I have a small project that uses a t4.1 with 21 fastTouch pins. It plays music over I2S and a light display, but obviously doesn't use a lot of pins for other things. uint8_t touchPads[] =...
  • snowsh
    snowsh posted the thread Interesting… in General Discussion.
    I just read this article: https://www.tomshardware.com/pc-components/cpus/startup-claims-it-can-boost-any-processors-performance-by-100x-flow-computing-introduces-its-cpu-20-paradigm A 60ghz t4.1 anyone?
  • S
    sndsgd replied to the thread 60Hz+ display refresh rate?.
    You can definitely get well over 60fps at 16bit color with an ILI9341 using https://github.com/vindar/ILI9341_T4. That said, the true frame rate (and how "solid" it is) will come down to how much detail you have per frame, and how you go about...
  • N
    Hello everyone, I know this might be a stupid question to most of you but I have no experience with microcontrollers or mulitplexers. I have a multiplexer ADG731 and want to connect it to my Teensy 4.0. I would like to use a EAGLE schematic...
    • 1718355444332.png
  • R
    Appreciate it, will keep these things in mind when I make the switch connections.
  • S
    shawn replied to the thread weird weird weird.
    Changing compilers, changing struct member ordering, adding and removing structs, can all mess with the physical structure. Just because it works now, doesn't mean it will work later. At the very least, my suggestion is to use a packed struct...
  • snowsh
    snowsh replied to the thread weird weird weird.
    This is kind of my approach so far. I have some upgrade methods if I ever need to retain the SD data. I can take care of the naming within the code, the SD files are already named based on their counterpart struct, albeit with a 3-letter code. I...
  • J
    jmarsh replied to the thread weird weird weird.
    Well if you're set on just dumping the raw struct contents to disk... I would suggest putting a version field at the start of the struct, and name the struct accordingly (e.g. ConfigV1). Then any time you change the layout, make it a new...
  • C
    Problem found and solved. The platformio teensy configurartion file version 4.17 uses the "cxx_flags" switch "-fsingle-precision-constant", which if perfect for the Teensy3.x, because their Floating Point Unit (FPU) can handle only 'floats'. But...
  • snowsh
    snowsh replied to the thread weird weird weird.
    Yes, I'm aware of the issues with changing the structures. I have gone with this because I need it to be as fast as possible. I had experimented with JSON but there was too much overhead and it became unworkable due to the real-time nature of...
  • snowsh
    snowsh replied to the thread weird weird weird.
    well, that seems to have found it! here is the intialised SD data: and having reworked the values:
    • ss-bool-debug-cfgData-dumpFreshStruct.PNG
    • ss-bool-debug-cfgData-dumpNew.PNG
  • J
    jmarsh replied to the thread weird weird weird.
    I'd say it's a problem with how you're filling the struct with data from the SD card. It's not safe to just take the pointer of a struct and access it like an array; there may be padding bytes between members, and the format will shift around if...
  • snowsh
    snowsh replied to the thread weird weird weird.
    here is my struct definition: struct DrummerConfig { uint8_t channel; uint8_t screenMode; uint8_t midiOutChannel; uint8_t midiInChannel; uint8_t stepLength; uint8_t kitId; uint8_t currentPatternId; char...
    • ss-bool-debug-cfgData-dump.PNG
  • snowsh
    snowsh replied to the thread weird weird weird.
    hmmmm.... if i place this at the end of setup(): drummer.config.enableFills = false; saveHandlerToSD(SD_TYPE_CONFIG, 0); it works, even with the SD card present.
  • snowsh
    snowsh replied to the thread weird weird weird.
    at startup, yes. I am studying the data now.....
  • PaulStoffregen
    Here is a Teensy specific tutorial for connecting a pushbutton. The info is same as all other Arduino compatible boards. However, you might consider using the Bounce library instead of digitalRead(). The Bounce library gives you automatically...
  • K
    kd5rxt-mark replied to the thread weird weird weird.
    Suggest looking at where config.enableFills is defined, then look at whatever is defined/allocated right above it in the definition. With unexpected values like 4 & 5, one strong possibility is that whatever is right above config.enableFills in...
  • J
    jmarsh replied to the thread weird weird weird.
    When you say "an SD card is present"... is this config struct being read from a file on the SD card?
  • W
    wayneg replied to the thread Teensy 4 Virtual LCD.
    You clued me into the problem. I didn’t understand classes so I dived right in and figured it out. Thanks for the kick in the pants. You never quit learning!
  • snowsh
    I have this section of code, please don't ask for the full codebase, its enormous. if (checkButtonPress(BUTTON_DRUMMER_FILLS_ENABLE)) // this works fine { Serial.println(F("Button press detected...
  • J
    googling "adafruit circuitpython teensy" shows that 9.05 is the latest version (just 3 weeks ago), and I don't see anything about Ethernet.
  • Q
    Qengineer replied to the thread CircuitPython on Teensy 4!.
    Hi, I deeply apologize for necro'ing this thread, it's the most relevant to the question I have for a project. Has there been any updates/changes on having ethernet support via CircuitPython on the Teensy 4.1? Thank You All, -t
  • D
    Just by way of a quick update @wwatson fixed a couple bugs that he found and we also converted the init_commands to use tables so easy enough to add a new device without having to go through all the commandvalue setup. PS> also added scrolling...
  • R
    Sounds good. Thanks for advise about resistor, will try it and see if it works.
  • BriComp
    You could watch this video. It will give you an idea how to connect a momentary switch. It's for an Arduino Uno, but the same applies to the Teensy EXCEPT when they mention using an External Pull Up Resistor to 5V. DO NOT connect an external...
  • R
    I see, appreciate your quick replies helped a lot. Is there a tutorial link or article that you suggest for connecting button to my quad channel teensy setup. Even 2 channel links works for me if i can simply extend the connections. I am not very...
  • BriComp
    No it will simply clear all the memory and reprogram the Teensy. Why not simply use a button attached to a Teensy pin?
Back
Top