Click here to Skip to main content
15,508,714 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 23:54
professionalPeter_in_27804-Aug-22 23:54 
GeneralRe: Wordle 412 Pin
Greg Utas5-Aug-22 1:23
mveGreg Utas5-Aug-22 1:23 
GeneralRe: Wordle 412 Pin
Cp-Coder5-Aug-22 3:16
Cp-Coder5-Aug-22 3:16 
GeneralRe: Wordle 412 (5/6) Pin
musefan5-Aug-22 3:47
musefan5-Aug-22 3:47 
GeneralRe: Wordle 412 Pin
Vivi Chellappa5-Aug-22 3:49
professionalVivi Chellappa5-Aug-22 3:49 
GeneralRe: Wordle 412 Pin
jmaida5-Aug-22 6:25
jmaida5-Aug-22 6:25 
GeneralRe: Wordle 412 Pin
ChandraRam5-Aug-22 8:11
ChandraRam5-Aug-22 8:11 
GeneralEver have one of those days where you wonder why you even code? Pin
honey the codewitch4-Aug-22 13:44
mvahoney the codewitch4-Aug-22 13: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 14:46
Gary R. Wheeler4-Aug-22 14:46 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
honey the codewitch4-Aug-22 14:48
mvahoney the codewitch4-Aug-22 14:48 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
Chris Morgan5-Aug-22 6:13
Chris Morgan5-Aug-22 6:13 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
honey the codewitch5-Aug-22 6:14
mvahoney the codewitch5-Aug-22 6:14 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
Chris Morgan5-Aug-22 6:29
Chris Morgan5-Aug-22 6:29 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
honey the codewitch5-Aug-22 7:43
mvahoney the codewitch5-Aug-22 7:43 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
Super Lloyd4-Aug-22 14:53
Super Lloyd4-Aug-22 14:53 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
Ron Anders4-Aug-22 16:55
Ron Anders4-Aug-22 16:55 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
jmaida4-Aug-22 18:57
jmaida4-Aug-22 18:57 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
honey the codewitch4-Aug-22 21:58
mvahoney the codewitch4-Aug-22 21:58 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
jmaida5-Aug-22 6:08
jmaida5-Aug-22 6:08 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
honey the codewitch5-Aug-22 6:15
mvahoney the codewitch5-Aug-22 6:15 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
jmaida5-Aug-22 9:18
jmaida5-Aug-22 9:18 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
Fueled By Decaff4-Aug-22 22:59
Fueled By Decaff4-Aug-22 22:59 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
honey the codewitch4-Aug-22 23:05
mvahoney the codewitch4-Aug-22 23:05 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
Marc Clifton5-Aug-22 4:09
mvaMarc Clifton5-Aug-22 4:09 
GeneralRe: Ever have one of those days where you wonder why you even code? Pin
Gerry Schmitz5-Aug-22 7:02
mveGerry Schmitz5-Aug-22 7: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.


Straw Poll

An amazing AI programming tool is invented that can do one task perfectly. What would you choose?
  Results   144 votes