Hi everybody - Unfortunately I was stuck in some issues private nature (two Death Cases in the Fam.) and had no time yet to get into your 9 years old Project. Also I was at the GamesCom'24 and that was much exausting me due looking for Dev's who...
Sorry for the late answer - I was tired and exhausted due several sleepless nights last week (summer heat) and I have to make some small things running for the GamesCom '24 where I am as an Exibithor at the retro area (in Hall 10.2, at German...
@defragster, @KurtE
It was a bit tricky but it works now.
Most hard was to setup the screen positions because the touchfield isn't that accurate to the settle up its coordinates. Some times it produces "unwanted dots" (may be due touch...
Wow that is old: https://forum.pjrc.com/index.php?threads/ili9341_t3-touch-screen-trouble.39878/post-124210
If the rotation can change this handles it when called - if you just need one fixed direction, then as @KurtE noted the map() needs...
Typically, what I do, is to uncomment the lines in the sketch:
/*
Serial.print("X = "); Serial.print(p.x);
Serial.print("\tY = "); Serial.print(p.y);
Serial.print("\tPressure = "); Serial.print(p.z);
*/
and likewise:
/*
Serial.print("...
Okay, now it have arrived new qualities: drawing works now but everything is flipside. If I draw upper left to right, it comes on the lower side right flipside to left on screen... desperate...
@KurtE
//#define KURTS_FLEXI...
Right now on it to install T4.1 libs for KiCad 7.0.7 also Symbols (weird to made this)
BTW - have opened Kurts FLEXSPI and trying all instances - Color Bars are there, but...
--------------------------------
Touch Paint!
Using SPI1 for Touch...
Sometimes I find you need to set all of the CS pins on the SPI bus to high before you try to init them. Some displays have built in PU resistors on their CS pins, but some of these cheap ones do not.
Something like:
void setup() {...
Don't worry, this is not the STMPE610 - it's as mentioned it's the XPT2046 ;)
For testing purposes I used the TouchTest.ino by CPT2046 Library and made this for the first
#include <XPT2046_Touchscreen.h>
#include <Wire.h>
#include <SPI.h>...
Hi and welcome to this Post, Kurt
So, no I didn't do that yet - but I will. Right now on it to try the TFT's touch to get running but it won't work yet. Could you help me with that?
This is the ILI9341_t3n Code (untouched):
#include <SPI.h>...
hey i like it ! ,very reactive display animation (y)
I'd better see the peak meters level 0->100 but upon the meters and keep the left & right under,
and why not orange - red colors for the max volumes,it would be a firework!
i think in the...
Sorry Bro, what's so unclear? Meanwhile I did the whole arrangement new. Guess what? YEAH Baby it works! And it's still lots of space left for more Text and Graphics (f.g. Play Status like Play, Pause, FWD, REV - and... all with touch (up next)...
Pete, thanks a thousand times! As I saw the Update-Section, it was like a fall into cold water... So obviously the conditions - I was several times that close, I could bit myself right now. A bit more on it than met the eyes.
Might be that I...
This is a modified version of the Part_1_05_Do_More_While_Playing audio tutorial example.
button0 stops the current file and plays the next one
button1 is a toggle which pauses the current file or resumes playing it
button2 stops the current...
That's the point. It is the original code from the Tutorial. May be I'm too stupid... But in my opinion the .stop does its job and also it depends on .fallingEdge (pushed) and .risingEdge (released) for switching the state. I'm testing right now...
Hi AntiLoop,
thanks for your reply.
As I mentioned above, it won't work - the same with a "if" condition. If I try to put something in the void, the compiler tells me, that he can't convert a void to bool. To me it's absolutely unclear how I...
Hi Pals
I use the T4.1 Audio Shield Rev D with ILI9341 TFT Display and was following (mostly) the steps in the Tutorials by Alysia and Paul.
Unfortunately I do anything wrong because the STOP Function won't work by pressing Button1. Actually I...
For the most purposes I always use red LED's. Don't worry about figure 1b, I won't use that, it was just an example for @Angelo ;)
Yes this is my worry about long-term use, the temperatures might be strong vary in my enviroment. I move upcomming...
Uhh... Ups, my bad :sleep:
Yep, it was twisted in fig. 1.
That's the right one.
@Paul
I didn't knew that before. I have been never in touch with this kind of Optocouplers - Hence, that's Gold, so thank you so much for that info. Without...
The circuit in figure 2 is correct. But you might reconsider choosing PC817. It may be on the slow side for 31250 baud. Normally H11L1 is used. This PC817 part is much slower.
A thausand thanks to you both.
@Angelo, that's what I assumed but wasn't sure about. I want to do it like that.
BTW: Fig.1 works anyway (V0 shouldn't exist in this circuit), then it's a simple MIDI-IN LED control light (lit up and off by...
Hi and tanks
Uhm, VB has actually No Connection as it is mentioned by Paul's schematic - but as an testpoint definitely useable. So, I let it also an NC.
PJRC Site - Stoffregen's MIDI IN/OUT Schematic
And the same is all about the 5V Question...
Really nobody who wants answering my question? Or do you guys feels kidding by my question because it's already a Darlington circuit?
Yes, of course it is, but with external Transistors and my question actually is, does it also work with the both...
OMG! Did I wrote that crap above?... :ROFLMAO:🤦♂️
Hey Paul, Hi and thank you again for the advice.
My project was frozen due lack of time and fun. Now I'm on it to make a new Project with the Audio-Shield and build a Synthesizer.
Sometime it's...
Yes, the pins really are usable as the pinout card says. Every pin on Teensy 4.1 with analog input can also be used as digital, but generally you use only 1 mode.
This is for Teensy 4.1. Some of the older Teensy models do have a small number...
Hi everybody! (Hi Paul)
I'm looking for a "emergency solution" because I have no 6N138 here. My question is, can I do it with PC817 and two BC547 like a Darlington?
It's for MIDI IN on Teensy 4.1 with Audio-Shield Rev. D
Many thanks in...
Try running File > Examples > Teensy > Serial > EchoBoth. Edit the baud rate to 31250 before upload.
When your MIDI device sends messages, if the bytes really are arriving this little will show you the raw data. Then you can at least know...