Click here to Skip to main content
15,886,919 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Wordle 412 Pin
Peter_in_27804-Aug-22 22:54
professionalPeter_in_27804-Aug-22 22:54 
GeneralRe: Wordle 412 Pin
Greg Utas5-Aug-22 0:23
professionalGreg Utas5-Aug-22 0:23 
GeneralRe: Wordle 412 Pin
Cp-Coder5-Aug-22 2:16
Cp-Coder5-Aug-22 2:16 
GeneralRe: Wordle 412 (5/6) Pin
musefan5-Aug-22 2:47
musefan5-Aug-22 2:47 
GeneralRe: Wordle 412 Pin
Vivi Chellappa5-Aug-22 2:49
professionalVivi Chellappa5-Aug-22 2:49 
GeneralRe: Wordle 412 Pin
jmaida5-Aug-22 5:25
jmaida5-Aug-22 5:25 
GeneralRe: Wordle 412 Pin
ChandraRam5-Aug-22 7:11
ChandraRam5-Aug-22 7:11 
GeneralEver have one of those days where you wonder why you even code? Pin
honey the codewitch4-Aug-22 12:44
mvahoney the codewitch4-Aug-22 12:44 
I've been working like mad to get my Prang MIDI device working, and it does. But it lags. I can't stop the lag. It doesn't seem to matter what I do to it. If I run a loop between TX/RX on the breakout the lag is basically gone (more or less - it's still MIDI)

As soon as I include my circuit, running my firmware in the loop the lag goes crazy. Even this yields lag:

C++
// pass through RX-->TX
while(true) {
    int i;
    if(-1!=(i=MidiSerial.read())) {
        MidiSerial.write(i);
    }
}


I think it might be the hardware UART buffers taking too long at 31250 baud.

But at the end of the day it doesn't matter, because I've no way to fix it.

My project is dead in the water. After already writing an article about it prior, and after writing an entire MIDI library that basically is effectively useless now since you can't get anything on or off the device without lag.

*headdesk*

I'm completely bummed out right now. I need a win.
To err is human. Fortune favors the monsters.

GeneralRe: Ever have one of those days where you wonder why you even code? Pin
Gary R. Wheeler4-Aug-22 13:46
Gary R. Wheeler4-Aug-22 13:46 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
honey the codewitch4-Aug-22 13:48
mvahoney the codewitch4-Aug-22 13:48 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
Chris Morgan5-Aug-22 5:13
Chris Morgan5-Aug-22 5:13 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
honey the codewitch5-Aug-22 5:14
mvahoney the codewitch5-Aug-22 5:14 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
Chris Morgan5-Aug-22 5:29
Chris Morgan5-Aug-22 5:29 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
honey the codewitch5-Aug-22 6:43
mvahoney the codewitch5-Aug-22 6:43 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
Super Lloyd4-Aug-22 13:53
Super Lloyd4-Aug-22 13:53 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
Ron Anders4-Aug-22 15:55
Ron Anders4-Aug-22 15:55 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
jmaida4-Aug-22 17:57
jmaida4-Aug-22 17:57 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
honey the codewitch4-Aug-22 20:58
mvahoney the codewitch4-Aug-22 20:58 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
jmaida5-Aug-22 5:08
jmaida5-Aug-22 5:08 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
honey the codewitch5-Aug-22 5:15
mvahoney the codewitch5-Aug-22 5:15 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
jmaida5-Aug-22 8:18
jmaida5-Aug-22 8:18 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
Fueled By Decaff4-Aug-22 21:59
Fueled By Decaff4-Aug-22 21:59 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
honey the codewitch4-Aug-22 22:05
mvahoney the codewitch4-Aug-22 22:05 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
Marc Clifton5-Aug-22 3:09
mvaMarc Clifton5-Aug-22 3:09 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
Gerry Schmitz5-Aug-22 6:02
mveGerry Schmitz5-Aug-22 6:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.