I found a fix for the toolbar icons on Windows.
But the missing toolbar on MacOS is a hard problem. Looks like Apple wants toolbars to appear on the right side of the title bar in new versions of MacOS. That's just not going to work for the...
Look, I know you've had a rough and frustrating experience, and right now you're probably not feeling very confident in the tools and compiler. But it really is working properly.
To explain what went wrong with the code in msg #19, is also a simple mistake in your code. Arduino IDE and the compiler are working exactly as they should.
The problem is the close bracket that ends your setup() function went away. This is...
It is indeed something very simple, exactly has jmarsh explained. Your variables "velocity" and "note" are local to only the setup() function. Using them in the loop function is an error. You need to create the code like this:
int velocity =...
In Arduino IDE, click Ctrl-A to select all code, and Ctrl-V to copy to clipboard.
Then in the forum on your browser, click this button. In the popup box, press Ctrl-C to copy your code.
Arduino IDE can open more than 1 file. If you have...
That is very strange. We don't have any "Blink.cc" file in the core library code, which would be installed at AppData\Local\Arduino15\packages\teensy\hardware\avr\1.59.0\cores\teensy4/Blink.cc.
Are you using Arduino IDE 2.3.3? Or another...
I'm going to go with answers: no and probably not, but maybe.
First, no, chips added to the bottom of Teensy 4.1 aren't ever accessed as EEPROM. They are used with LittleFS as a filesystem. Maybe that can be useful, but if you're expecting it...
Just to add a bit more info, Teensy Loader is built using wxwidgets for all the GUI stuff. Internally these buttons are created from PNG files that get built into the code and converted to a wxwidgets abstraction class for images, and then used...
It's on my list. So is missing toolbar on MacOS, also mentioned the the beta test thread. Probably not technically the same issue, but both likely to be addressed looking into the toolbar details (which really haven't changed since the very...
These section type conflict errors happen for a couple reasons. Can't see enough of your code to say why.
Briefly, #1 use of PROGMEM on functions (it's meant for data) or FLASHMEM on data (it's meant for functions). It's kind of a silly...
SDA and SCL are supposed to connect directly. The resistors are each supposed to connect between 1 of the signals and +3.3V.
This photo looks like the resistors are connected between the display and Teensy, not connected as pullup resistors.
Sorry, didn't see this question earlier.
I mostly started from the conversation on issue #58, especially this message from Sep 20, 2023. which explains Arduino IDE 2.x is based on Theia is really just VS code internally.
These are the links...
Exciting moment here, using dankeboy36's suggestion, I was able to get a new window to open with code from a temporary folder! Arduino IDE is able to compile and upload it (unlike my failed attempt with vscode.TextDocumentContentProvider).
Now...
I'm going to try that suggestion from the github conversation. Looks promising...
Really wanted to try it late last night, but got distracted trying to get the forum responding.
It's really not a lot of total data transfer. The units are incorrect. Numbers at the last 2 lines are total bytes, not per second.
8.7 GB over 24 hours, if it repeated every day, would add up to only 1.3% of the server's 20TB monthly...
Difficult to tell if this is a malicious attack or a very badly designed bot. It's utilizing tens of thousands of distinct IP numbers, so sure seems like someone knows they're up to no good. The accesses keep coming, but the pace seems to have...
Looks like someone may be running a distributed denial of service attack. Or if there's some other nefarious purpose, difficult to know what it is.
I cobbled together a couple fail2ban filters which are lightening the load, but the server is...
Well, after spending all weekend learning Typescript, I started a VS code extension which can do the key generation for Lockable Teensy. Here's a screenshot.
In anyone's curious, here's the source code so far...
Hmm.... thinking about this a bit more, I wonder if there's a way to use Apache's mod_rewrite to "fix" these bad URLs?
Obviously we can't do anything about the human errors where Teensy's URL gets appended to some other URL, but these cases...
Also carefully check Settings for the URL format. If you have any other boards than Teensy, for the sake of troubleshooting copy the whole thing to clipboard and paste into a text file for safe keeping. Then delete it all, and starting with a...
Did you try this beta version?
I personally tested it on a M3 Macbook Air with MacOS 14.5 (Sonoma) which has Rosetta 2 installed, and also on a M2 Mac Mini with MacOS 15 (Sequoia) which lacks Rosetta. Everything worked fine on a M3 machine. It...
Use File > Preferences to edit the URL. This beta has its own URL separate from the normal one.
Most future betas will have their own URL, partly because it's the only way to test the port discovery and serial monitor utilities, partly because...
This message is supposed always appear when you upload with "Serial ports" and never appear when uploading with "teensy ports".
It was sometimes appearing even when "teensy ports" was used. There are many cases depending on which version of...
I updated my build machines for all platforms.
MacOS is the biggest change. If you have a Mac, and especially any older version of MacOS, please give this a try. In theory it should run on all MacOS versions Arduino IDE 2.3.3 supports. In...
I kinda doubt anyone outside NXP (formerly Freescale) could really answer anything other than #3.
For some speculation, reducing the clock speed should give you less internal heating. But it's probably only a small linear gain, because the MK64...
Please consider 3 essential steps when asking a technical question.
1: Good first impression - Humans will spend their time to answer when you give a favorable impression. The main factor is to show your effort. People usually enjoy helping...
I haven't tried gcc 13.3. Maybe it will be smoother than the problems going from 5.4 to 11.3 (like constexpr contructor no longer giving static init), but at least for now I'm hoping to stay with gcc 11.3 and focus on merging audio library...
I recently got a 2023 M2 Mac Mini running MacOS 15 (Sequoia). Until now I've done all MacOS work on a 2011 MacBook Pro running 10.7 (Lion) and a 2013 Trashcan Mac Pro running 10.14 (Mojave), which of course run very old versions of Apple's...
Yes, A0 pin. Or any of the analog input pins. Any can you as long as you specify the pin in the code where you actually connected the wire.
Code looks better, at least the 36 lines I can see.
When you post code here, click the </> button. A...
I'm having a hard time imagining anything useful to be gained by dynamic allocation. You still need to have enough memory available for the maximum possible number. Attempting dynamic allocation comes with some disadvantages. The main one is...
During the connection testing, connect your voltmeter negative lead to GND near Teensy. Touch the positive lead to the solder on top of the pad on audio shield. The idea is to check whether each signal truly does connect all the way from Teensy...
You can also use the LED blink example to test any pin. Just edit the pin number and upload. Your voltmeter should see that 1 pin changing at the location on the audio shield, and all the others should not change (check if 2 pins are shorted...
Do you have a voltmeter? While the Guitar program is running, please try measuring DC voltage at several places. In all tests, connect the negative lead to Teensy GND. Connect it close to Teensy.
Measure these as DC voltage: (touch these...
Those headphones should work.
Yes, the message about downloading package_teensy_index.json is normal. Arduino IDE automatically downloads this file over and over to check for new versions of the software.
If you are hearing some guitar sound...
Mark has a good point about the AC nature of this piezo sensor. If you know for certain the polarity of the signal, you could use a circuit which clamps the negative signal to (nearly) zero and allows the positive signal to reach Teensy's ADC...
If you hear the guitar sound, perhaps the Teensy and audio shield are working, but there is some problem with the connection to whatever hardware you are using to listen?
Best to use ordinary headphones.
Remember, we can't see what you're...
Can you reproduce the WS2812Serial problem without the EtherCat hardware connected?
Or to ask more specifically, can you share a (hopefully small) program which I or anyone else with WS2812 LEDs (but not the other special hardware) can run on a...
Quick comments on possible issues here.
1: Restructure your program to not use delay(). You will miss activity during the delay time! I'd recommend adding a bool variable to remember whether the fan is on, and an elapsedMillis variable to...
Yes, this is the normal way to use Teensy 4.0 and Audio Shield rev D. These 2 products are designed so all the pins line up for proper connection when assembled this way.
Your GND and 3.3V wires are unusual. Normal way is to connect to the same physical location, as if the 2 boards were directly connected. This unusual way is probably ok, but because things are not working, why continue doing this the unusual...
You're calling eeprom_read_block(), which doesn't read actual memory. It reads the emulated EEPROM. And you're asking it for bytes far beyond the tiny emulated EEPROM size, so it just gives you the default 0xFF.
To read actual memory, just...