Drunk brain can’t code….

Jun 11, 2023 7:05 AM

ulesverne

Views

2079

Likes

16

Dislikes

3

#engineering #electronics #synthesizer

engineering

electronics

synthesizer

dumb

pic

Never try to solve electronic shit while drunk. You only make it worse. Drunk you is only useful to solve relational problems. Not logical ones.

2 years ago | Likes 4 Dislikes 0

Sameies. Trying to make an Arduino function generator. Code is not my forte, 10 shots and 2 pts of MDMA deep.

2 years ago | Likes 1 Dislikes 0

I have a sneaking suspicion this problem will remain tomorrow. Because my coding skills are crap.

2 years ago | Likes 2 Dislikes 0

what is it you're trying to do?

2 years ago | Likes 2 Dislikes 0

I have a 32-bit value I want to send to the computer from the PIC & display in decimal. The printf function requires 16-bit values. I used 2 concatenated ints to send the 32-bit value (%u%u) but beyond 65535 it doesn’t display correctly. I just know this is going to be a major facepalm when I realize what I’m missing.

2 years ago | Likes 1 Dislikes 0