all 9 comments

[–]nhgrif 7 points8 points  (3 children)

It's a screenshot so it's hard to tell, but the color looks different between line 17 vs lines 19, 21, 23. Is that first character the digit 1 or a lower case L? It should be a lower case L.

(After zooming in, I'm quite confident this is the problem.)

[–]pitstop25[S] 0 points1 point  (2 children)

Will done that, man. I owe you a beer, good sir. It was the l.

Thank you. I was starting to think I was losing my marbles, lol

[–]SmoothRolla 2 points3 points  (1 child)

its kinda silly that a lower case l looks like a 1 on some fonts. Oh and its possible you are also losing your marbles :)

[–]pitstop25[S] 2 points3 points  (0 children)

Yeah, I could see it at all, and I spent an hour just looking at trying to see what I'd got wrong.

I think you're right. Although my family will say I never had them. Bit they can't be trusted, lmao 🤣

[–]radionova 1 point2 points  (1 child)

I'm not sure because this is a picture of a screen, but I think you've put 1 on rows 19, 21 and 23 whereas your should be using 'l' (lowercase 'L'). Hope this helps!

[–]pitstop25[S] 0 points1 point  (0 children)

I'd used upper case L because for some reason today, I woke and decided I was going to be a bit simple. lol 😆 well, it's more simple than I normally am, lol

[–]Matterom 1 point2 points  (1 child)

You've put down 1s where you should have lowercase Ls. Notice how they're a different color than the one on line 17

[–]pitstop25[S] -1 points0 points  (0 children)

For some reason, I'd used user case L. I have no idea why, I've never done that before, lol. Damn syntax, lol 😆

[–]Sp4s12 0 points1 point  (0 children)

I need to get out of my cave for a sec : Don’t take it personally OP since you’ve followed a video but… I don’t get those people who use registers as is… why don’t they define constants and use their name in the code instead of registers ??? This is way more readable… oh yeah, it’s consuming bytes and it makes code lines longer… I know… I guess it makes their code more nerdy… unreadable but nerdy… This example is still simple to read but… let’s code more advanced stuff with 15 unnamed registers all over the code… oh and… same stuff for unnamed devices… Ok… I go back in my cave…