Latest activity

  • KurtE
    @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...
  • P
    Just to disambiguate some terms: The Teensy 4.1 has support for “native Ethernet”, meaning there’s a PHY chip on-board for interfacing with Ethernet ports. There’s also a library called “NativeEthernet” that happens to be included with the...
  • A
    alex6679 reacted to toyosm's post in the thread Ticking Noise with USB with Like Like.
    Tried this today, so far works like a charm!!. Replaced the core files (made a backup just in case) and worked. It does consume more AudioMemory than the stock usb. In my program used 20 blocks before (mostly to pass samples between blocks) and...
  • A
    @h4yn0nnym0u5e: This are good news. Thanks also for fixing the include of AudioStream.h in usb_desc.h. I am currently testing some changes I made to the AudioInputUSB and AudioOutputUSB (not pushed yet). To understand my changes some background...
  • PaulS
    PaulS replied to the thread Connect Mulitplexer and Teensy 4.0.
    You're welcome. Feel free to share your schematic (preferably in PDF format) and code for review when you come to that point. There is also a ready-to-go library for the ADG731: here. Paul
  • N
    thanks! appreciate it alot
  • N
    nikimee reacted to PaulS's post in the thread Connect Mulitplexer and Teensy 4.0 with Like Like.
    A lot of information can be found at https://www.pjrc.com/store/teensy40.html. The ADG731 multiplexer information can be found here. It is controlled by SPI. More info on SPI and Teensy can be found here. Teensy 4.0 Eagle library here. Paul
  • P
    Thanks Shawn. I used your QNEthernet and the Ethernet kit from PJRC, and it works a treat! I am gobsmacked at the speeds I am getting. Revolutionised my project TBH.
  • S
    Just to disambiguate some terms: The Teensy 4.1 has support for “native Ethernet”, meaning there’s a PHY chip on-board for interfacing with Ethernet ports. There’s also a library called “NativeEthernet” that happens to be included with the...
  • S
    Just some feedback, I used the following code with the QNEthernet library char url[300]; sprintf(url, "POST /xxx.php HTTP/1.1\r\nHost: lexxatrexxa.co.za\r\nontent-Type: application/octet-stream\r\nConnection...
  • M
    Hi, I am revisiting an old project where a T4.1 is controlling ancient IC's on an 8-bit parallel bus with 1MHz clock generated by a PWM on pin 33. So far I have toggled the CS asynchronous to the clock. This works, but sometimes waste write...
  • J
    jvphotog reacted to toyosm's post in the thread Ticking Noise with USB with Like Like.
    Tried this today, so far works like a charm!!. Replaced the core files (made a backup just in case) and worked. It does consume more AudioMemory than the stock usb. In my program used 20 blocks before (mostly to pass samples between blocks) and...
  • C
    chrisk replied to the thread Teensy 4.1 Debug Mod Project.
    I took the trip down the Teensy debug rabbit hole by following Spencez'e excellent guide and Kicad files. I purchased several Teensy 4.1's from Amazon to serve as my guinea pigs. I converted the Kicad PCb files to Gerber using the instructions on...
  • jim lee
    jim lee replied to the thread tone() question...
    IS this what I'm looking for? https://github.com/PaulStoffregen/Audio
  • jim lee
    jim lee replied to the thread tone() question...
    Ok, so to start. I have MIDI file on SD card, how do I play it on my piezo speaker using these libraries? What do I need to grab? -jim
  • jim lee
    jim lee replied to the thread tone() question...
    Yeah, it is. I always suspected this kind of stuff was in my little 3.2s but never was in "the area" to learn about it. This all started with writing a silly game for my handheld and wanting short tunes to play on the piezo speaker when stuff...
  • PaulStoffregen
    PaulStoffregen replied to the thread tone() question...
    Something else you might consider when writing code using tone() is almost every Arduino compatible board has a slightly different implementation. Behavior of tone() differs when you suddenly stop the output with noTone() rather than letting it...
  • PaulStoffregen
    PaulStoffregen replied to the thread tone() question...
    You can also of course use the audio library. Teensy 3.2 can synthesize and mix dozens of waveforms and Teensy 4.0 can handle hundreds of voices. You can output the final mixed result using the DAC pin on Teensy 3.2 or MSQ on Teensy 4.0. Or...
  • PaulStoffregen
    PaulStoffregen replied to the thread tone() question...
    I'd recommend using analogWriteFrequency() and analogWrite(). On Teensy 3.2 you have 3 PWM timers, so you can have 3 independent frequencies this way if you choose the correct pins. Details with which timers control which pins can be found...
  • C
    @alex6679 Bit off topic question related to this thread: Resampling I2S slave inputs at the T4/ T4.1 Do you think it's possible - resample between 8khz ~ 50khz 8 channel 16bit TDM on T4.1 ? Since you can't change USB frequencies @ run time I...
  • T
    Hope this is not out-of-scope: At the Mozzi library (hosted on github) we use github actions for continuous integration. This includes builds for teensy 3.6 and 4.1. These just started failing almost exactly four days ago with Opening Teensy...
  • jim lee
    jim lee replied to the thread tone() question...
    Thanks! I was hoping for more. The idea was MIDI to Tone so it would work on standard Arduinos at least for single voices. But I see you're holding out a tempting bit of tonal candy here..
  • M
    I have now tried to execute it, however it says it does not have the right GLIBC version, unfortunately updating it will make another program not work. Is there any way around this?
  • PaulS
    PaulS replied to the thread tone() question...
    Tone() uses a timer interrupt. Teensy 3.2 has 3 available timers (FTM0,1,2). More info here and here. Paul
  • defragster
    It's OK, no need to "mark as solver", you just have.
  • PaulS
    PaulS replied to the thread Connect Mulitplexer and Teensy 4.0.
    A lot of information can be found at https://www.pjrc.com/store/teensy40.html. The ADG731 multiplexer information can be found here. It is controlled by SPI. More info on SPI and Teensy can be found here. Teensy 4.0 Eagle library here. Paul
  • jim lee
    Running a Teensy 3.2, still have about a dozen of them.I remember being able to do tone() on multiple pins. How many tones can I do at one time? -jim lee
  • PaulS
    PaulS replied to the thread Midi interface + Control Surface?.
    Probably 'midi' is used already in the Teensy MIDI library, so instantiating like this USBMIDI_Interface midi_usb; gets rid of the compilation error. Also got rid of the CCButton 'brace-enclosed initializer list' error by changing Channel_1 to...
  • P
    It's OK, no need to "mark as solver", you just have.
  • BriComp
    It's OK, no need to "mark as solver", you just have.
  • BriComp
    Just some feedback, I used the following code with the QNEthernet library char url[300]; sprintf(url, "POST /xxx.php HTTP/1.1\r\nHost: lexxatrexxa.co.za\r\nontent-Type: application/octet-stream\r\nConnection...
  • defragster
    Just some feedback, I used the following code with the QNEthernet library char url[300]; sprintf(url, "POST /xxx.php HTTP/1.1\r\nHost: lexxatrexxa.co.za\r\nontent-Type: application/octet-stream\r\nConnection...
  • P
    Just some feedback, I used the following code with the QNEthernet library char url[300]; sprintf(url, "POST /xxx.php HTTP/1.1\r\nHost: lexxatrexxa.co.za\r\nontent-Type: application/octet-stream\r\nConnection...
  • P
    Thanks a mil
  • P
    Recommend you use QNEthernet rather than NativeEthernet, which is no longer maintained. QNEthernet is developed and maintained by @shawn, a frequent contributor here.
  • P
    Yes, it is designed to generally work as a direct replacement. Check the examples. One diff is that it even knows to get the Teensy direct MAC address.
  • defragster
    Yes, it is designed to generally work as a direct replacement. Check the examples. One diff is that it even knows to get the Teensy direct MAC address.
  • P
    And just to be sure, the QNEthernet works on the Native Ethernet port of the Teensy4.1?
  • P
    AH OK, thanks a mil! I shall do so!
  • BriComp
    Recommend you use QNEthernet rather than NativeEthernet, which is no longer maintained. QNEthernet is developed and maintained by @shawn, a frequent contributor here.
  • P
    Hi All, I have just ventured into the TEENSY world, coming from the STM32 world. I have a sketch, that triggers a HIKVISION camera to send thru a photo. All works well. What it can do on the TEENSY4.1 so far quite successfully is: Trigger the...
  • C
    We have a positive report from a Mac user … looking good :)
  • h4yn0nnym0u5e
    We have a positive report from a Mac user … looking good :)
  • h4yn0nnym0u5e
    h4yn0nnym0u5e reacted to toyosm's post in the thread Ticking Noise with USB with Like Like.
    Tried this today, so far works like a charm!!. Replaced the core files (made a backup just in case) and worked. It does consume more AudioMemory than the stock usb. In my program used 20 blocks before (mostly to pass samples between blocks) and...
  • M
    I am working on a project where I would really like to have 2-way communication between the Jetson Nano and the teensy using a usb cable. Additionally i would like to use the Arduino IDE (which i already downloaded, v 1.8.15) and use teensyduino...
  • R
    Just pushed up a new branch to the Teensy_gfx library that starts support for frame buffering, https://github.com/mjs513/Teensy_Parallel_GFX/tree/framebuffer_wip. Just running a modified graphicsTest sketch - quite a bit of a delta - still...
  • wwatson
    Just pushed up a new branch to the Teensy_gfx library that starts support for frame buffering, https://github.com/mjs513/Teensy_Parallel_GFX/tree/framebuffer_wip. Just running a modified graphicsTest sketch - quite a bit of a delta - still...
  • P
    Hi, I need to get string data from XPlane. I tried use FlightSimData type but not working. // Type declaration FlightSimData GpsNavIdAircraft; //onChange fuction void update_display_gps_nav_id(char *val) { ???? } void setup(){ ...
  • KurtE
    Just pushed up a new branch to the Teensy_gfx library that starts support for frame buffering, https://github.com/mjs513/Teensy_Parallel_GFX/tree/framebuffer_wip. Just running a modified graphicsTest sketch - quite a bit of a delta - still...
  • mjs513
    Just pushed up a new branch to the Teensy_gfx library that starts support for frame buffering, https://github.com/mjs513/Teensy_Parallel_GFX/tree/framebuffer_wip. Just running a modified graphicsTest sketch - quite a bit of a delta - still...
Back
Top