YTread Logo
YTread Logo

Arduino für Einsteiger #01

Mar 08, 2024
Hello everyone, my little northern friend, today we start with the Marino program, your course. A few days ago I started a small survey on YouTube and almost three quarters decided that I should please start with the basics. So for the people of. you who already have knowledge, this will be boring because I'm really starting from the bottom, but you should have heard something about me or done a little javascript html excel whatever So that you at least know what programming is, I We'll start with one of the most popular Abelin plates, which is Arena Nano, and therefore we will take the current name of Nano, each Nano in the end or Argentine or company.
arduino f r einsteiger 01
Actually, it doesn't matter at all. You can also use the original Arduino, i.e. the original Wii, but it's almost twice as expensive now, or you can just use a clown. For others, it is not that a separate USB driver needs to be installed, otherwise it will not be possible. I recognize it, but that wouldn't mean I'm ruling it out. We'll accept it on all, although I've never used the euro, but that fits pretty well because you have to install it and you can do what I want to show. so I want to say let's start with the software that you recently installed, then you need to download the gti in cc, go to the software and then you can see the 1.8 dot 19 ard at the top which is currently the most current version. also a version 2, which is a candidate version 5, I mean it's actually almost finished, but I keep finding things that are a little annoying and I don't feel like it, so if we have the classic original single version, so take a look look now. if you have Windows, the Windows installation will fail and for Mac, which would be my case now, Mac will download the Mac version but now you can donate if you want or just download it, you know if he does that.
arduino f r einsteiger 01

More Interesting Facts About,

arduino f r einsteiger 01...

Of course, I already downloaded it and just installed it and it's nice that I don't have to explain how to install the software. He'll probably be able to do it himself if he installed it since then. The program opens and, by default, an empty basic program is displayed. I will introduce the font a little larger, perhaps to make the video a little prettier. Why is it so and we will make space here. First we have to prepare the software for the nano e like a bunch of. cardboard material so it looks unspectacular has a big disadvantage with respect to the original nano and that is that the pensions are labeled from above.
arduino f r einsteiger 01
You can't see it, but that shouldn't be a problem for now. , but I show you that not everything is on the monitor, so it's pretty easy. You take the nano and plug it into the computer via USB and then you can see, you can see that, but again big, this is the basic program. that is always installed on a new nano or

arduino

the flashing script and we are going to use it today to recreate it differently and so see the difference we will make it flash faster again. Okay, so the load is now simply connected and the table placed for you, as it is, I will also tell you things that are now a fact at this moment, but that will change later in the course of the course, but now it will not work if now I list all the eventualities that could happen now, which is not interesting at the moment, well, from then on, the pros among you do not write it to me in the comments, yes, but you can also do it this way, Of course, the camera does it like this, but now we don't do it like that, we do it so that everyone understands it quickly and well, so let's start, there are three areas 2, you see, you see a third, there is nothing there. but the configuration area is the display area and that is the area outside of SAP, what exactly is that because you still have to explain and the nano apple is now connected but it will not work.
arduino f r einsteiger 01
First we have to install the nano on each track. bock manager with the normal nano the program can't do that but that's how now it's relatively new two years ago I think the original name is endless I'm ten twelve years old so go to the tool board to the board manager here you can install all the plates that must be programmed through the environment bypass, place a nano up here and yes, exactly one entry comes that someone wrote correctly and as in the umu blah, blah, blah, and at the end there is also the nano, each one installed and now. the nano each tool word and then finds it without asking on the mega celebration boards, grandma, now you have to tell the program which USB port the nano is connected to.
The tools also go to the port and will probably generate a lot of USB. ports To find out which one it is, briefly remove the bauma, close the bar, go to it and see what is left, then turn on the download again and look again and add the USB modem 147 44 01 check the box, get board. information and now you are writing here an unknown board, well you don't know what it does but it doesn't matter, you found the board was narrow so it should be programmed by a cinema, it only runs with functions and these areas are happy to configure, a function is started with a weakened bracket and ended with an open and closed weakened bracket and the loop is also a function, these are the two main functions that the program needs, the configuration is done at the beginning of des Arnos, it is called once and everything I have here in this set is executed, then it jumps into the loop and everything I have in the book is processed over and over again, it shuts down, so it basically gets trapped in Luther, all the logic of the program is within.
The area up here is the teaching area defined in it. of the variables that are therefore used in the program, just forget it, you see here potter configured here blah blah and Putin well here these are comments and comments in a comment due it is always introduced with 2 / that is the dignity 7 and then it is ignores the whole line so you can write whatever you want, that's just for you so you can make notes inside the file. That would have been very important if the huge thing wrote. There are also other comments about things that span several lines, but they don't show you now in Bremen.
I don't either, so if you put a line word where he wants to write something, you can direct it with 2/. 1 and yes, then it will be ignored like this. Now I will show you the easiest way to make the LED flash, you don't even need variables for it and it is set and now the LED should be off. by default at 13 because yes, they change eight times the command cannot 13.8 put call that was already the configuration that is executed once and everything is clear 13 is defined as output and in the loop it makes the digital right 13.3 now the LED is on and the new LED is off, your digital right looks like 13.0, so if you were to charge it now on arm one, then the thing will glow a little bit, the LED, why yes?
Because it turns the LED on and off too quickly. we have to take the breaks, the worst method that the command to do is mrs lay is actually not programmable because with the delay command the processor stops for a certain number of milliseconds, so it can no longer do anything. It actually waits this time and you can't accept any commands during this time without evaluating anything, so it's not really possible, but for quick success you can use this. Here we are making a delay of 250 between on and off. because it goes back to the beginning, the timeout had to be again at 250, meaning the LED is on or output 13 is on, it waits a quarter of a second for 250 milliseconds and then configures the port or pin 13. to zero and 250 musicians are expected again, then such a warm end to the loop and then it starts again from the beginning when I wanted to see what it was.
You've made it, you're going to upload it, and now you want to save it for the first one. Yes, things have LED test names, but you only do it the first time and it doesn't work well. 328 is still set, now the nonsense is supposed to be on the nano. Of course, the 48 09 now also has the correct sports information, so set the correct processor, charge it normally and you can see here that the LED flashes every half second if you want to display it faster now. Always charge at 120 and drive faster. So why have I written with Ken Block for years?
Maybe I have a little idea, it still works, but there should still be a little transmission with that of course, but now you can also make the time what it should be. long and up the timeout briefly 2 again, very briefly and you can do different appearance patterns, so it was all a bit unspectacular, but I had already seen how it works, yes, as I already said, delay is not possible, Who wants to have the look? We can't do anything else if you now want to run other code in the background while flashing, it's not the background that dominates the issue, but to keep it running during rest times you have to program it in another way, that too means that from time to time a variable is defined for the first time and of type rich declared, so normally a variable of type long has a value in the range of minus 2.1 billion to plus 2.1 billion, but we just need both directions in the positive range, which means fear means this variable should only be from zero to positive, but we basically have double the size, so the value range of 4.2 billion sounds like a lot, but at some point it reaches the end, apparently long. name the thing part, yes if the Kaymer thing only defines its variable it is called tanner, so let's make it equal to zero again so that now it is completely defined by the state, the variable part has the value zero so you can also delete it like me. said it doesn't matter at all now millys comes into play millys is part of this it runs from the start of the ar - executions in milliseconds is a number that counts 1 more each millisecond and now queries come into play so if millis is It has to be written like this because this is a function greater than 500 square brackets and that is now the condition, so if milliseconds is greater than 500 you are now forced to put the square bracket.
I have the son of the magnifying glass on a stupid button that should run because here in the line is deeper to close the curved stand again, but before that, this is just for you for the optics, so you can put spaces and tabs that They are fun here you should also pay attention to the rates otherwise I would have. to turn off millys greater than 1000, that would mean that if Willis is a 500 large, he makes the current 13 if I have this 1000 large. We turn off the power again so we only do this once. Williams, of course, runs high without end. and when it runs out 1000 there is nothing left and now come and say hey my game and we will put it here if millies - kaymer is bigger 500 and again if millies linos time 1000 that wouldn't change anything for now but if now set the timer to the host of the mini and then it basically starts calculating again at 500 kaymer right away and now the following will happen but load it up you set the mode pin 13 to output then it jumps the loop and millies starts running yeah hi right. from the beginning kaymer is 0 if millies is -0 yes the timer is greater than 500 so after half a second set the franking to 5 volts if millies never the theme is still zero greater than 1000 you set it again to the same time the timer is written with the value of milliseconds which now divides 1000 jumps back to milliseconds is now 1000 - where it says 1000 is again zero to 1500 is - the 1000 has the 500 and each time milliseconds - the stopwatch is greater than 1000 the stopwatch is Set it up and unfortunately that's how it works.
I hope everything is said correctly and I can give you LED flashes, but now can you do other similar things in the loop because the processor suddenly slows down? the timer is such and such, turn on the LED once it is so and so, turn off the LED and you can do other things, control other LEDs so you should do it in principle and not work with a delay. This script has. There is a problem and it won't work anymore after 40 days, the minis variable is full at 4.2 billion and goes back to zero, so that was the problem that the timer itself is still at 4.4 billion, so Millies - Tyler can never be greater than 500. or more than 1000, this is my magnifying glass to intercept that, if it was really necessary, you can also enter a line.
I'll let the part that happens be bigger than Milly's, so if the timer is bigger than Milly's and that only happens once when Millie has overflowed and it goes back to zero immediately zero that's it and then the script works , something is done by setting things on fire. If you are looking for more detailed information about individual things, then it is very easy. For example, you want to know something about millies. just type bardolino release. So it usually comes from there. Above an Arno entry, often in German, always in English, so some things are still only in English.
Click on and then the features will be clearly explained to you, yes you can. Also do it with what else we have digital truth, it must be uppercase and be careful with the lowercase, it doesn't matter anything, it always says how to use it, etc. That was the first part of my Ariane programmer series. I hope it was something interesting for you, like I said, people who already know it, of course they won't do anything with it. It was nothing new to them, but asI said, it was simply. a start and the next episode goes a little deeper into the things you can use.
I'd say if I liked it again, I'd give it a thumbs up. Still about insider trading and I say goodbye until next time.

If you have any copyright issue, please Contact