![]() So here, if i go ahead – and i upload this code once it completes – lets see its done and go ahead and i can open the serial monitor and thats either through this little button here or by selecting it here, and here we can see the code. So this should generate a kind of a sawtooth wave if we were to graph it so lets see our most basic function. I that counts up to a hundred itll, never quite get to 100 and prints out its value and then waits a millisecond in between each print and then it counts back down and waits a millisecond between each print. Then, when we get into our loop, we have a value. We have a setup function, serial begin and were gon na set this up for 57.6 kilowatt. Two very basic functions, so here we have our code that were gon na start with.
0 Comments
Leave a Reply. |