As yet another data point, eliminating all of the middle-man interference introduced by your VM environment, what about booting from a "live CD/DVD" & trying to program your Teensy from that, as the...
Type: Posts; User: kd5rxt-mark
As yet another data point, eliminating all of the middle-man interference introduced by your VM environment, what about booting from a "live CD/DVD" & trying to program your Teensy from that, as the...
I don't have any personal experience with the T3.5 (I've used T4.x for all of my projects). What optimization level are you building at ?? Does changing the optimization level cause any change in...
Glad I could provide some help.
Now, from what you've described earlier, as long as you haven't tried to program/load your Teensy, you shouldn't have to worry about racing time against any...
[ Knowledge from the Windows environment . . . hopefully this info is the same for linux ]
Make sure that TeensyLoader is running. Enable "Verbose Info" under the "Help" menu of the TeensyLoader....
I would not think that the error report is in any way connected to your buzzing, but it is certainly an issue that needs to be cleaned up by re-installing TeensyDuino.
Mark J Culross
KD5RXT
Guillaume:
I am likewise interested in the newest Teensy 4.1 based PCB, so I contacted Edwin. Here is his kind reply (I removed some specific comments on current stock, etc. that may not...
DOH !! Didn't even look at the date of the original post . . . as you can probably already tell, I just responded to the "new post" notification !! I guess my suggestion can just lay there in wait...
The map() function was improved in TD1.37 to allow use with float & double types. With the release of TD1.54 (see release notes <here>, & search for "map"), the map() function was improved again as...
[ Sorry for the double-post . . . we're motoring down the highway, so internet (hotspot thru my phone) is coming & going ( & yes, my wife is driving at the moment, not me :p ) ]
Mark J Culross...
A couple of quick thoughts on one possibility:
Run two signals (pinX & pinY, along with a common ground shared) from the Teensy to the relay location. Set pinX HIGH & pinY LOW for "ON". Set pinX...
Another guess to try:
map(adc_value, 718.0, 301.0, 0.0, 80.0)
Mark J Culross
KD5RXT
According to the MKL26Z64 datasheet, in Paragraph 3.6.11, Note 3, Table 25 states: "For packages without dedicated VREFH and VREFL pins, VREFH is internally tied to VDDA, and VREFL is internally tied...
https://www.pjrc.com/store/teensy32.html#analog
https://www.pjrc.com/store/teensy35.html#analog
There has been some prior discussion on this forum (one example <here>...this is specifically for T4.x, but there are other examples for T3.x...search for "INPUT_DISABLE") which seems to be related...
When I do a "Save image as" by right-clicking on the picture in the post, according to Windows Properties, the resulting file is 69.6K, with dimensions 1280 x 598. Agree that there seems to be all...
Here's the info taken directly from this forum's "Manage Attachments" page (apologies for the poor formatting induced during conversion from original tab-delimited to spaced !!):
Filetype ...
Andi:
I hope I am understanding your needs correctly. I have a project of my own where I am using a couple of T4.0s connected to a Raspberry Pi. To power the T4.0s, I simply connect a USB cable...
@PhilFletcher:
I took the code exactly as you posted it (no additional modifications) & am able to successfully read from a 32GB microSD using the Audio Shield Rev D attached to my T4.0 (I have...
Jack:
Take another look at the function definition. You should notice that all but the first parameter are assigned default values. Defining the function this way allows the function to be...
I disagree, or maybe I just don't understand your comment. There appear to be instances where you backup, then write:
void StringsTointEEPROM::save_string_to_eeprom(char *stringIn)
{
//...
Glad I could help in some small way. I am making great use of the T4.1 EEPROM for saving presets in the current implementation of my TeensyMIDIPolySynth, so along the way, I have instrumented my...
I have nailed down one culprit: the calculation of the EEPROM address whenever a "backup" is done is temporarily converted/promoted to a result with more bits than the "uint16_t" requires (to allow...
I decided to take a different look at this problem. I added some debug spits to detail all of the EEPROM addresses & the data READ/WRTTEN from/to those addresses. Something strange popped out as a...
What versions of Arduino & TD are you using ?? There were some EEPROM-related fixes which applied to the T4.x found during the testing of TD1.54 beta. My T4.1-based Teensy MIDIPolySynth is...
Take a look at <this> project & see if it is something that you could build to meet your requirements. With the current chip shortages, you could probably use a Teensy 4.0 in place of the Teensy 3...
If you go to the "Memory" description on the main T4.1 product page (<here>), you'll see that there are 4284 bytes of emulated EEPROM, which is accessed using the EEPROM Library (documented <here>)....
You should double-check your wiring . . . it sounds like there's an incorrect connection somewhere. Also, where/how are you trying to measure the audio output with your o-scope ?? If you connect...
@NuttyMonk: I have absolutely no experience with programming the specific timer + interrupt hardware in the Teensy, so I'm hoping that maybe my ignorance could work in our favor here. With that...
@SteveSFX:
No...you are close to being in the same neighborhood, however, it seems that you are still missing the detailed understanding of a very important aspect in your declaration . . . take...
@SteveSFX:
Google is your friend !! The answer is quickly found by searching for "arduino SD card variable filename" . . .
Just remember to make your array big enough to hold the *longest*...
@tedm:
Welcome to the Teensy world. You have chosen an excellent platform to potentially base your project upon. I'd suggest you take a look at the Audio Adapter Boards at this <link> (don't be...
@EcodroneSRL:
The thread at this <link> might have some useful info.
Good luck & have fun !!
Mark J Culross
KD5RXT
@SteveSFX: I would guess that those are examples of the required settings & syntax for graphics driver chips that most likely have absolutely nothing to do with your 240x240, since it would appear...
@hbtousa: Unless you are reading a physical potentiometer, you should not need to consume an analog input pin for volume control. You just need your touchscreen volume control (implemented as a...
I usually either order my T4.x with pins or solder on my own. Using this, I also solder socket headers to the Audio Board. This arrangement allows me to stack the T4.x on top of the Audio Board,...
You didn't say which Teensy (T3x or T4x) and/or which Audio Shield (Rev C or Rev D) that you are using. Check this <link> for info on which pins your Audio Shield is using (very likely an overlap on...
The standard data rate for MIDI over serial is 31250 bps, which limits the maximum transfer that can be expected. With one start bit + 8 data bits + 1 stop bit per MIDI message byte, you can expect...
@Roy86: Do you see the same overheating issues if you run any of the Audio Shield examples ?? This may help narrow down whether it might be a hardware vs software cause . . .
Mark J Culross...
@Pkore:
Nothing in the example that I gave is absolutely required. I simply intended to give you some possibilities to play with (my best guess as to what you were looking for).
More details:...
@XForce: very nice !!
Mark J Culross
KD5RXT
Translation:
Translation types
Text translation
Source text
1,242 / 5,000
Translation results
The effects can be combined at will
Click image for larger version. Name: Effects.jpg Views: 0...
Translation:
Translation types
Text translation
Source text
1,742 / 5,000
Translation results
Programmable WS2812B LED strip controller
@Pkore: Welcome to using Teensy's fantastic audio library !! I'll take a best guess at what you are trying to accomplish. Import the following into the design tool (NOTE: in the future, when...
In the original code (from tsan) that you were using as your example, a float value was being stored in the "data[]" array, and the (float) members of that array were being translated into 4-byte...
@mmajors: You are very welcome. Glad you got it figured out (& glad that I could help in a small way) !!
Mark J Culross
KD5RXT
Double-check to make sure that you don't have Arduino installed in two different locations. From what you describe, it sounds like you do, & the one with TeensyDuino knowledge is the one that runs...
Installed TD1.57b1 over TD1.56 (without uninstalling). Building with Arduino 1.8.19 under the following conditions:
Arduino IDE Configuration (last built with Arduino 1.8.19 + Teensyduino...
Richard:
I took another look at my TeensyMIDIPolySynth source & realized that there is one additional difference in my implementation of the USBHost interface that might be pertinent. Because I...
@Rolfdegen (or anyone else who has already succeeded in adding an oscilloscope display to your TFT project display):
I would like to add an oscilloscope display of the (digital) audio stream...
@rvh: Regarding your earlier question on the use/need for calling myUSB.Task(), the USBhost source shows:
/**
* \brief USB main task, responsible for enumeration and clean up stage.
*
*...