I’m really sorry for sounding like a pain in the 455 OldSteve. I really am. You didn’t have to remove the N.B., I was just curious what it meant.
nota bene (verb)
Observe carefully or take special notice (used in written text to draw attention to what follows).
That’s very good that you learn new words, and try to use them more often. Even if it’s not english.
It makes you smarter regardless if it’s english or not, than the guy sitting next to you.
Now I know it, or at least am aware of what it means thanks to you.
I honestly really like the fact that there seems to be educated people on here. That’s reassuring, that there’s educated people trying to help me. Thank You.
I’m a well educated person as well, but I’m not omniscient. So I still gotta learn, if I wanna work with microcontrollers, and code, etc.
Removed Voltage variable… Even though I should learn more about the code I found, and use it, as it’s the most accurate through hole tempature sensor on the market, before getting into SMD components.
I formatted my code. (Edited, etc) Didn’t know how to do that. Thanks for the help.
I would like to learn how to change the settings mentioned.
MyInteger++; (Increments MyInteger by 1). Understood.
MyInteger = MyInteger +1; (Increments MyInteger by 1). Uses more memory, not good.
Curly brackets after if/else/while etc I’ll keep using. It’s only a single byte for the curly brackets, and makes my code look well formated. Thanks for the info though on the fact that if there’s only a single line of code after the if/else/while etc. then it executes, and compiles. Understood.
Took a look at C:\Program Files (x86)\Arduino\lib\formatter.conf using Notepad++, and it seems the setting is there to be set to whatever a person wants it to be. I was a little curious, and took a look at that. I’m familar with files like that, and just never thought of it. So thanks for the reminder, and I’ll go ahead and give it a shot and set it to 4.
As for the C:\Program Files (x86)\Arduino\lib\preferences.txt file, it says at the top of the page…
!!! UNLIKE PREVIOUS VERSIONS OF PROCESSING !!!
DO NOT MODIFY THIS FILE, OR DELETE SETTINGS FROM THIS FILE
So idk… I don’t think I’m gonna mess with that file, unless someone can tell me a little more about it.
However… I do see a setting in here that I might want to mess with…
editor.window.width.min = 400
editor.window.height.min = 290
When I open a saved project, or sketch as people call them, the stupid window opens tiny… the 400 x 290 sounds about right… So if I modify that 400px x 290px, then I’m going to take a guess and say my sketches will open up to the 1920 x 1080 of my screen resolution…
Anyways… looks like a good read.
08b. myVariable = myVariable + 1;
08c. myVariable += 1;
08a. Even though there’s not a 1 or whatever, it still increments it by 1. (Understood).
08b. It’s kinda like Textbox1.Text = Textbox1.Text + 1, but Microsoft changed that in the IDE, and it was a lazy and incorrect way of people to do it that way. So Microsoft corrected it, and when they released Visual studio 2010 from 2008, people weren’t able to do that anymore. So then that’s when I learned about Textbox1.Text = Val(Textbox1.Text) + 1
08c. Seems a little backwards… MyInt += 1 do anything… idk… just seems strange. It’s foreign to me.
Anyways I understand, and with repetition, I’ll remember it.
If there’s only one line of code after the if/else/while, etc. it’s compiles, and executes. (Understood, thanks guys.)
You got it - because it’s a constant value and never changes. The same applies to pin allocations, that’s why I made this ‘const’ as well :-
I’m not going to change it… Idk why I would change it by mistake or whatever, but never in the many years of programming for VB.NET, never once declared a const. NEVER. In all honesty, I actually just learned about const like a couple months ago. But I’m aware of what a constant variable type is. It can NEVER be changed. Even if a value is assigned to it, it is CONSTANT.
- It’s actually just standard C++… lol… yeah… it is isn’t it.
Once Upon a time…
(8 Months, county bullet, first time in Jail… for real) Never been back… unlike some people…
How…? With the ol Pencil and Paper trick. and I also got to write code in Jail… LMAO… yup.
I got mixed up with people stealing 6 ATVs & 4 Sea-doo Watercrafts. I was stupid…
Then I was like, I’d like to learn BASIC.
Then I went to Barnes & Noble, spent &F@!)# $50 - $60 on Visual C#, which I can get online free today.
Didn’t work… Wans’t interested… Looked too difficult.
Then I was like Visual Basic…? Wow… cool.
Anyways kept… didn’t get a book, started really rough out in Visual Basic, moved to VB.NET, and mainly wrote kiddy scripts, and simple, but very LONG programs, that others could probably do with less code.
I actually wanna learn programming for AVR's and stuff. I've been watching videos and stuff, and spend VERY LONG HOURS watching videos about the subject.. But for now, I'm trying to keep it simple. I figured I'd just practice my Arduino Uno programming.. (C++) CODING.
Got it. I'll just take it one step at a time.. Could be worse.. Could be C, or Assembly.
I'll take a look at the site a little bit latter, it's 5:43AM right now.. Seems there's just not enough time with my attention span, and my vast curiosity for this hardware stuff I've gotten into.
12. Please do not PM me for help. I am not a personal consultant.
I have never PM'd anyone, In any Forum, anywhere.. Ever.
I can reassure you, nobody will get a PM from me. They midas well just delete the feature in forums, because I never PM anyone.
Had this video in queue for about several hours.. I honestly would like to do stuff like this, but I have to spend more money, and more time in learning about it. Not today Ralph.. Not today.
Step by step Ralph.. step by step..
Thanks for the help guys, much appreciated.