Okay, have revised the code, still have one screen sized source buffer and two 320*96px destination buffers, but using just one for the test.
Overall - it works! Successfully rotated the image 270 degrees and all in...
Hello,
For a musical project, I need to find a way to identify simple wooden coins lying on a board.
Say we have :
- a board divided in a 64 cells, exactly like a chess board.
- on a few cells, I put some wooden...
I found your code in pop_lcd_diff_buff.ino a bit confusing. It seems that you call PXP_Init every time through the loop. I'm not sure it is a good idea to reset the PXP and set the buffers each time through the loop....
can't get greeting to play at all cant even see where u can increase the gain either only get a long single bleep even put the greeting directly onto the sd card in wav 16bit, pcm, 44100 got the mic working super fine...
Maybe try adding the following to setup() to aid in narrowing down where the crash is occurring (this capability provides info gathered during the crash, but reported as part of the next boot):
if (CrashReport) {...
Hey Kris, if I don't clear display before then the transponder code just runs on top of its self and turns into a mess.
But I think I'm just gonna scrap getting the dataref info from xplane and just assign the switches...
Glad you got it to compile. I guess now you know how data and directories are arranged for programs/sketches and libraries.
How are you trying to listen to the sounds?
When your teensy crash BEFORE the USB Host library is able to print out debugging messages, there might be a deeper problem than some race-conditions with interrupts. As far as I know, the usb system initializes and...
Again, thanks very much for your help. The intermittent crashing when plugging in must be some timing/threading/race condition? issue. Having USB debug info doesn't help, it crashes before anything comes out to Serial....
Yeah everything that’s in pxp_start was removed from pxp_init, but it only works if everything is in pxp_init.
Super odd but I’ll keep playing with it.
Yeah, the native pin labels are almost like someone at NXP tried to make the most confusing error-prone naming scheme possible. FWIW, I got them mixed up many times in the early days (in 2018) while designing Teensy...
OK! Now I get:
Starting WebServerAP on TEENSY 4.0 with ESP8266-AT & ESP8266_AT_WebServer Library
ESP8266_AT_WebServer v1.6.0
Use ES8266-AT Command
WiFi shield init done
Attempting to start AP with SSID = EFD_NET...
Just be sure to use external 3.3V supply for AT-shield. 3.3V from T4.0 can't supply enough power to the shield.
Just testing now and OK
Starting AdvancedWebServer on TEENSY 4.0 with ESP32-AT &...
3 blinks means the flash chip didn't respond. The blink codes are documented at the bottom of the T4 bootloader chip page.
https://www.pjrc.com/store/ic_mkl02_t4.html
"Why" is a much harder question to answer...
Thanks very much! I was just browsing through some of the other examples, and I noticed this:
// TODO, WizFi360 can't use crashing localIP()
So maybe I was on the right track. I'll try v1.6.0 and let you know how...
If you want to test only the I2S part of the audio shield, create a do-nothing program with an instance of I2S input, so cause Teensy to transmit the 3 clock signals, and use I2C to enable the SGTL5000 chip. Then just...
Sorry, please go back to use v1.6.0
The new versions v1.7.0 and v1.7.1 will be removed or fixed.
Starting HelloServer on TEENSY 4.0 with ESP32-AT & ESP8266_AT_WebServer Library
ESP8266_AT_WebServer v1.6.0
...
Hi All,
Thank-you in advance for any help / guidance you can provide. I'm having trouble with a custom T4.1.
The issue is that pressing the program button on the device, rarely (about 5% of the time) causes the...
This is exactly what I've been looking for! I'm using a Teensy 4.0 with the Ai-Thinker ESP-01 WIFi shield. I was able to install and compile the library and the WebServerAP example with no problems (using PlatformIO +...
btw. this is how to make a sysex file into easy to fix array data(remove the last comma):
hexdump -v $SYSEX_FILE | awk '{print $2$3$4$5$6$7$8$9}' | fold -w 2 | sed 's/^/0x/g' | sed 's/$/\,/g'| tr -d '\n' | fold -w...
Did you remove the lines in PXP_Start from PXP_Init? I tried the same thing, but renamed the new function PXP_XStart(), since I already had PXPStart. Every thing seemed to work as expected. Even if I removed the...
Excellent news, glad we got it sorted out. It’s prompted me to improve the documentation for the PR branch (it shows up in the Design Tool), so once it’s in, things should be a bit easier for everyone.
Something odd that I can't figure out:
If I move the following code from PXP_Init() into it's own function (lets call it PXP_Start):
void PXP_Start(){
CCM_CCGR2 |= CCM_CCGR2_PXP(CCM_CCGR_ON);
PXP_CTRL_SET =...
I'm doing some simple raytracing on the Teensy 4.0. That means doing a lot of dot products of normal vectors, so lots of decimals with values from -1 to 1. I've been using single-precision floats, but I don't think this...
My post#38, second and third bullet points ... your posted code has been modified, though not actually in an important way (someone added a question mark after the line @BriComp highlighted). More important, it looks as...
/**
* Audio Guestbook, Copyright (c) 2022 Playful Technology
*
* Tested using a Teensy 4.0 with Teensy Audio Shield, although should work
* with minor modifications on other similar hardware
*
* When...
getting this now moved the files and folders like u said
Arduino: 1.8.19 (Windows 10), TD: 1.57-beta1, Board: "Teensy 4.0, MTP Disk (Experimental), 600 MHz, Faster, US English"
...
Probably OK ... hard to tell without seeing the full path to the folder and a glimpse of its contents. It doesn't need the -main on the end, but I think it doesn't hurt, either.
Oh dear, I have just compiled the copy I downloaded to my PC without any error.
Do you have this line in your code: #include "play_sd_wav.h" // local copy with fixes?
I have just commented it out on my copy and get...
A few things:
please refer to Paul's post and the image I posted to make sure the MTP_Teensy library is in EXACTLY the right path - your image shows that it isn't
double-check you have downloaded and not modified...
Looks like you copied everything that was inside the original MTP_Teensy folder to the Documents/Arduino/libraries folder. But you should have copied the MTP_Teensy folder (with all of its contents) to...
So it should look something like this (click on the image to enlarge it...):
I've done some improvements on the documentation, which you can find at...
I succeded in compile (heeem, trivial, I installed the latest audio lib...)
But now I have the I2S clocks multiplied 4x
I tried to divide per 4 setI2sFreq value, and now have the correct frequencies
but I wonder if...
If you find MTP_Teensy inside a "libraries" folder, don't make the mistake of dragging that libraries onto the libraries inside Documents/Arduino. Doing so will result a libraries folder inside the libraries folder. ...
Yep - sorry for my misunderstanding! Now it works like a charme!!!
Many thanks for this - MicroDexed now supports loooooooong delays and some more memory for variables is available. I created a library which can be...
It's less than 32K bytes, so space is probably not an issue, but you need to remove the '\' characters at the end of each line. That's a syntax error. You only need that when you are extending a literal string, or a...
...as to where to put them...
Your programs/sketches (whatever you wish to call them) are stored in the directory C:\Users\iandi\Documents\Arduino\.
Libraries, which is what MTP_Teensy is, are stored in a directory...
I tried putting a test array containing a SYSEX dump into my header file.
for trying out usbMIDI.sendSysEx(31520, sysexfile_data)
char sysexfile_data = {\
0x42,0xf0,0x19,0x30,0x00,0x4d,0x4d,0x00,0x73,0x69,\...
This error from msg #16 (edit: and now also msg #24) means you're still missing files that need to be installed on your PC.
Hopefully now that you have experienced the way Arduino IDE and Teensy Loader...
nope still not compiling
getting this message
Arduino: 1.8.19 (Windows 10), TD: 1.57, Board: "Teensy 4.0, Serial, 600 MHz, Faster, US English"
Multiple libraries were found for "SD.h"
...
I just tried by adding a delay of 1 sec before Wire2.begin() in setup() and a delay of 1sec after too. It did not help.
My condition to print ADC data is if(Wire2.available()). It should print any data valid or not,...
We have been concentrating on the if (Wire2.available() >= 2) { but of course if the ic does not see a request to send then Wire2.available() will always be false.
I see that the adc is addressed relatively early in...
SDA1 and SCL1 are addressed as Wire2.
You need to change line 308 :- if (!bmp.begin_I2C()) { to include the Wire2 assignment.
So something like if (!bmp.begin(BMP3XX_ADDRESS, &Wire2){.
NOTE:
I am not sure...
Hey all,
Re: Teensy 4.1
I am having difficulty connecting multiple I2C devices (using the SDA, SCL, SDA1, and SCL1).
I am trying to connect a BMP390 via I2C and an LC709203F via I2C. I have the LC709203F connected...
Oh, I forgot: If you go the the USBHost_t36.h file and uncomment line 62, you will see a lot of debug messages from the USB Host library. Maybe that might help to locate where it crashes.
// Uncomment this line to...
I just flashed that code onto my sequencer hardware and plugged in and plugged out my Launchpad Pro 20 times in a row, with me waiting, with me not waiting a bit to hopefully see where it crashed, but I had no crash at...
The only solution we have found so far was to change the udev rules to
and to run the FLIR Spinnaker SDK as user (ie. non-root). This has been a humbling experience in terms of using sudo as a development crutch;...
Thanks very much for this. It works to ignore the CC data when plugging in and then takes CC data after. However, it's freezing and crashing when unplugging and plugging back in about 80% of the time - it's not...
Personally I'd read all the values into one value (may as well use a uint32_t, it's a 32 bit processor) and then use bitwise operations to calculate all the outputs at the same time.
If you define the pin numbers as an...
Hello!
I want to build a small tool to manage my Korg M1 with
a Teensy 4.0.
So far i got midi CC to SYSEX message translation working
for configuring the Presets.
Since i do have an audioshield with sdcard i...
It looks as if you've requested to use delay memory fitted to the audio adaptor, but previously you said you put it on the Teensy 4.1 as EXTMEM - try changing that statement to AudioEffectDelayExternal...
I just tried the PR, but unfortunately it does not work. I put a 200ms sine signal into the delay and get nothing (except the original signal). With AudioEffectDelay() everything works... re is the code I used:...
Oh! Now I see what I missed. I am so sorry! You don't want to ignore ALL messages but just the first few one that the controller send on startup!
You are totally right with the assumption, that the buffer is your...
This is just to confirm that it's working to control my 4 quad digipots. I used to use SPI with CS pins, which worked out to 6 pins total. Nice to see that I can now accomplish the same thing using just 2 digital pins...
I'm Brazilian, sorry for my English.
I need 4 sessions on mDNS. I saw that this topic is a little old, so I thought there was a possibility that some of you have solved this problem. Thank you very much!
Actually your text displays probably displays for 50 milliseconds. You are clearing the display in the mode selector so your display will get cleared (of course depending on button states). Since your stand by text and...