I tried XPT2046_Touchscreen ts(CS_PIN, TIRQ_PIN);, same result
I managed to simply digitalRead(TIRQ_PIN) each loop because i just need to know when the touchscreen is pressed, i dont need the...
Type: Posts; User: javiernicola
I tried XPT2046_Touchscreen ts(CS_PIN, TIRQ_PIN);, same result
I managed to simply digitalRead(TIRQ_PIN) each loop because i just need to know when the touchscreen is pressed, i dont need the...
You were absolutely right manitou, Wire1 does support those pins.
Thanks!!
My code:
/***********************************************************************
*
* first version ultrasound detector
* using higher sample rate code by Frank Boesing
*
*...
teensy 3.6 + audioshield(i2s) + ILI9341_t3 + XPT2046_Touchscreen :(
Everything works perfect by its own... but when i merge code...
Hi, im playing around the teensy batdetector first coded by...
I have the same problem.
Im using the Audio shield and i need to turn the board into a slave_i2c device for external coms.
For doing this i use the "i2c_t3" library and change the pins to...
Thanks Paul, you are right if i lower the sampling frecuency in order to zoom in lower frecuencies everything slows down.
I fixed this by finding the right frecuency that doesnt lag the process...
Hi CorBee, i hope you enjoy your holidays.
First time i heard about platformIO im going to give it a try.
Im did what you proposed where teensy_batdetector.ino its a completely empty file
14781
But now i get problems in definition of classes
14782
Arduino:1.8.7 (Windows 10), TD: 1.44,...
Hi i noticed you arrange your code differently , there is no .ino?
Maybe its a noobish question but are you using another IDE or how could i stick your code into arduino IDE?
thanks in advance
Hello DD4WH, thanks for this amazing progect.
Im trying to replicate but i m not able to compile your .ino (ff.h is missing)
where can i find that? maybe teensy new versions have a different name...
i did order 6, but sadly i need them all :(, i was trying to work around my BURNT SDA0 pin with no major changes in code.
Im already using the alternative SDA1
Hello Paul, im trying this with a teensy 3.2(because pin18 SDA is burnt) .
Is the same code for teensy 3.1 and teensy 3.2?
So far i had no luck, could i have burned the periferic down if i still...
Change every "Wire." for "Wire1."
I had the same issue, some interruptions in my code were messing up with TEENSY usb coms so i cleared the interrupts while setting up serial coms
cli();
Serial.begin(115200);...
Yeah i can see FRANK modifies the same registers with his DAC function
void setDACFreq(int freq) {
const unsigned config = PDB_SC_TRGSEL(15) | PDB_SC_PDBEN | PDB_SC_CONT | PDB_SC_PDBIE |...
Im not using the audio board(shield)
Im used to be able in other types of microcontrolers to modify those kind of registers from the arduino IDE but for some reason
arduino IDE doesnt recognice...
I just figured it out diving around the audio.h libraries the exact line of code that sets the ADC sampling period.
Arduino/hardware/teensy/avr/libraries/audio/input_adc.cpp
13663
line 73:
...
Hi , im trying to implement a FFT of the ADC readings with a teensy 3.5.
My intentions are getting the highest resolution possible but just around the low frecuencies from 0Hz to 500Hz.
I want to...
It worked like a charm!, thanks.
13649
I didnt undestand how Audio system patches all together but i do now, i found this wich was helpful for me.
Is it a good idea to change the sampling...
Howdy Paul, thanks in advance for surf this forum answering everything.
I tried to use the audio design tool and connected ebverything but FFT.available returns 0 :(
This is my .ino , on the...