My setup is looping? LEDs and oled going crazy..
idk why but my LEDs blink and my oled goes on and off really fast
27 Replies
What do you get in the serial monitor?
i get nothing..
Add a line before myserial.begin and print something like Serial started
ok

i swear to god
it spams serial started
even tho its in setup
It’s reseting itself
Disconnect all hardware and see
yeah, how tho?
ahh ok
Also, what was your memory usage stats after you uploaded to the board
54%
For which one
There should be 2

it shows serial started just once when i disconnect all ahrdware
So then it’s wiring of the hardware
whats the problem then tho
And or somethings not working properly
yeah i guess
I dont know, it’s not in front of me lol.
so just start with the leds
imma replug one after the other
Then connect your display. Then the player
and see when it blocks
Yea
ok
Mader thought it looked like a brown out. Something is drawing a lot of current suddenly, causing the voltage to drop too low for too long and it restarts the Arduino
Without the display connected nothing is going to happen as it enters the for loop
Also add more of those debugging messages in more places to pinpoint where it breaks
https://discord.com/channels/420594746990526466/556594862502182914/1380576844423626854
Video of the issue. Posting this here so it doesn't get lost
Wait. @Kosta are you powering LEDs and the display from the GPIO pins?