- Wed Feb 01, 2017 11:55 am
#193211
I noticed that numerous examples of a sketch to run the same project are offered by different brands. I have not compared all examples, but it occurred to me that if the comments were deleted in each example, the essential code is identical. I opened the SparkFun Tinker Kit Example sketch 02 in text editor and deleted everything that didn't look to me like code. I understand // is for same-line comments, and /* - */ included all comments in between. Very interesting comments, but after reading and learning the lesson, no longer essential. Then I uploaded the resulting sketch. The file must have .ino extension, and reside in a folder, of course. The picture attached is a screen shot of the uploaded sketch. The example works as intended. The breadboard LED blinks faster and slower with a twist of the potentiometer knob. Can anyone experienced in actually writing original sketches tell me if I am on the right track?
You do not have the required permissions to view the files attached to this post.