Thanks, will take a look.
At this point, I think I will defer for now. If the main issue is simply to rotate by 90, 180, 270 with most of our displays,
we can simply tell the display to set their rotation and the rest is taken care of.
If I...
I believe that, without the "-n" command line option included, the "echo" command in linux will terminate the data to be sent with either CR, or LF, and possibly CR/LF. You might try adding additional characters to your rCmd array & inserting...
@KurtE the partial output buffers only work with the eLCDIF handshake.
The only way to use this on a non SDRAM Teensy is to use one screen size source buffer and two partial destination buffers
I was able to rotate a landscape frame generated...
In the sketch it is not visible that there is any data sent via the Teensy from hardware MIDI IN to hardware MIDI OUT. To rule out anything from Ableton you could close the software or even run the Teensy from an USB Hub/ Powerbank without PC ...
MCUs are incredibly versatile and are used in a wide range of applications, from running the complex operating systems of smartphones to controlling simple household appliances. They offer a balance between computational power and energy...
@KurtE the partial output buffers only work with the eLCDIF handshake.
The only way to use this on a non SDRAM Teensy is to use one screen size source buffer and two partial destination buffers
I was able to rotate a landscape frame generated...
Ok, here is the configuration:
The electric druid is the diagram I posted above.
What I want is for the shruthi to react only data sent by ableton live, and for ableton live to react only to data sent by the EWI, but for now, when I play EWI...
Please be more specific what exactly you are trying to achieve and what should be routed to what. What is connected to what and how?
plus: Ableton Live can also send the notes from your midi controller to any available midi output if you...
To explain a little more, for example:
On my computer, with ableton live, I choose teensy MIDIx4-port 1 output, the midi data is well sent to the MIDI-1 output and my hardware synth plays, on another track I choose teensy MIDIx4-port 2 input, if...
I tried with MIDIx4, it doesn't work.
I wanted to try with MIDIx16, impossible to declare it in MIDIx16, after uploading the code the teensy is still in MIDIx4
Hello
wondering which board would be best to use together with teensy 4.0 and/or 4.1.
I would need to play some songs at the "same" time, like they overlap and dont stop the song already playing.
The board should include the amplifier on it...
Yeah, and at this point, I have several VERY inexplicable behaviors going on. PWM signal isn't stable there on either the handheld or bench unit; both show the same instability with wide, wide gaps.
This program doesn't work as expected either...
I'm using a Teensy 4.1 with USBHost_t36 to control an 8-relay USB box, specifically a KMTronic box. It works great! So I bought another one.
Unbeknown to me the first KMTronic uses CDC, whereas the second one I bought uses FTDI and doesn't...
Perfect, I have ordered some of those modules. I have heard that lithium cells are more dangerous than NiMH, will they definitely be suitable for a build that will likely take lots of impacts?
@mjs513 - glad you have it working! Will have to play with it some more.
(All) But I am wondering how/where I might use it on a normal Teensy, where I don't have external memory and I am not using eLCD?
That is are there examples on how one...
@mjs513 - glad you have it working! Will have to play with it some more.
(All) But I am wondering how/where I might use it on a normal Teensy, where I don't have external memory and I am not using eLCD?
That is are there examples on how one...
Have to swap the values for the OUT_LRC register - didn;t register (pardon the pun) that this was different than PXP_OUT_PS_LRC. PXP_OUT_LRC appears to set the display LRC, hence the need for:
if(r == 0 || r == 2) {...
On your computer where you use the USB connection you can have 1, 4 or 16 MIDI devices (if you have selected MIDI, MIDIx4 or MIDIx16 in the Arduino IDE). When you are saying "USB", which one exactly is meant? Or would you like to use only one...
Have to swap the values for the OUT_LRC register - didn;t register (pardon the pun) that this was different than PXP_OUT_PS_LRC. PXP_OUT_LRC appears to set the display LRC, hence the need for:
if(r == 0 || r == 2) {...
Have to swap the values for the OUT_LRC register - didn;t register (pardon the pun) that this was different than PXP_OUT_PS_LRC. PXP_OUT_LRC appears to set the display LRC, hence the need for:
if(r == 0 || r == 2) {...
Yes. The only purpose of connecting power to VUSB is to power VIN.
Sure, if you leave VUSB floating... and are positive nobody will ever plug something else into Teensy's USB port.
OK
First I want to thank you and all the experts for your time and support.
Before sending detailed videos and photos of my problem, let me introduce my work to you with the attached files.
The files describe my hobby work and I'm sending for...
I am hoping I was misguided in the past.
I currently have this schematic routing a Teensy 4.1 to my own board.
I cut the VUSB to VIN connection on the Teensy before mounting to my board.
As I look again, I don't think I need to connect VUSB...
Got it !!! Found it by accident:
solution:
void pxp_rotation(int r) {
if(!pxpStarted) {
Serial.println("You forgot to start PXP, use 's' to start.....");
} else {
memset((uint8_t *)d_fb, 0, sizeof_d_fb);
PXP_rotate_position(0)...
On 2nd though, perhaps my bandwidth estimation is off by a factor of 2. The narrow pulse would be half of a cycle of a square wave. Maybe.
When you use only 8 bit PWM, the 255 / 256 = 99.6% duty cycle, which is a pulse 16X wider. So it needs...
I ran your program (the first on msg #11) on a Teensy 4.1. This is the waveform my scope sees on pin 29.
Looks like a very stable 25 kHz waveform. My scope says the duty cycle is 99.97%. That's very close to 4095 / 4096 = 0.999756.
I...
Got it !!! Found it by accident:
solution:
void pxp_rotation(int r) {
if(!pxpStarted) {
Serial.println("You forgot to start PXP, use 's' to start.....");
} else {
memset((uint8_t *)d_fb, 0, sizeof_d_fb);
PXP_rotate_position(0)...
Hi Mark, thank you so much. I appreciate your time to share your expertise!
I am using hysteresis already - I should have mentioned it. I'm not only using the RAR library, but also added checking if the counts go over 3 or 4 absolute value in...
Got it !!! Found it by accident:
solution:
void pxp_rotation(int r) {
if(!pxpStarted) {
Serial.println("You forgot to start PXP, use 's' to start.....");
} else {
memset((uint8_t *)d_fb, 0, sizeof_d_fb);
PXP_rotate_position(0)...
Got it !!! Found it by accident:
solution:
void pxp_rotation(int r) {
if(!pxpStarted) {
Serial.println("You forgot to start PXP, use 's' to start.....");
} else {
memset((uint8_t *)d_fb, 0, sizeof_d_fb);
PXP_rotate_position(0)...
Got it !!! Found it by accident:
solution:
void pxp_rotation(int r) {
if(!pxpStarted) {
Serial.println("You forgot to start PXP, use 's' to start.....");
} else {
memset((uint8_t *)d_fb, 0, sizeof_d_fb);
PXP_rotate_position(0)...
Firstly you cannot expect analog inputs to stay rock steady, if the voltage falls close to an ADC step it can jump back and forth by one count, this is a fundamental property of digitizing any signal. So normally hysteresis is added in the code...
pinMode() is for digital I/O, so you don't need it. If I remove that and the Serial stuff, your program reduces to what is shown below, continuously calling analogWrite(). I benchmarked it, and T41 can call analogWrite() about 25 million times...
Thanks for joining the fray here. Right now I am using QVGA with a ILI9341 so using 2 full size buffers:
DMAMEM uint16_t s_fb[320*240] __attribute__ ((aligned (64)));
uint16_t d_fb[320*240] __attribute__ ((aligned (64)));
Right now I have just...
Hello,
I'm trying to build a small midi interface with a teensy 3.6 card, and the following electric druid circuit: https://electricdruid.net/wp-content/uploads/2016/04/MIDISchematic-3.jpg
I upload the example code teensy3x3, (my goal, in the...
"to tape his SD card", does that mean taping the card such that it stays put in the SD card socket or...?
I can imagine that when people are carrying the Vectra sequencer around, the Teensy and/or SD card are prone to shock and vibration. The SD...
Thanks for joining the fray here. Right now I am using QVGA with a ILI9341 so using 2 full size buffers:
DMAMEM uint16_t s_fb[320*240] __attribute__ ((aligned (64)));
uint16_t d_fb[320*240] __attribute__ ((aligned (64)));
Right now I have just...
Okay, thank you for replying. That was the approach I was going to try to take. A new version with series resistors. I was looking into the teensy slew rate limiting feature, but I think resistors are just a better way to go no matter if slew...
Sorry, I don't believe that is possible. AFAIK - it is only implemented within HardwareSerial,
(and maybe FlexIO Serial)...
My guess is you can probably edit the source code, to allow for larger count of buffers:
like usb_serial.c
Where you...
You've come to the right place !! This forum is specifically for the Teensy family of products. From the Arduino IDE, you can select for your Teensy to act as a variety of devices (see the screen capture below). From your initial description...
Yep, I've been experimenting a couple days now with my oscilloscope, which honestly has ended up raising more questions than answers so far.
I'm really not sure how better to describe the context; essentially it's a motor controller, except it...
Hey I am wondering if there is a way to add extra memory to "Serial" zero for reading and writing just like the following for Serial1? (Yes I know it is very fast already and runs at 480Mbaud but every microsecond counts and I don't want to block...