top of page

Arduino Sketch

Ok you may want to know what a "sketch" is. Well basically a sketch is like a song sheet, it tells the Arduino what to do.

It is made up of a few basic parts

  • The definitions or declarations

  • The setup

  • the Void loop

 

If you want to find out more Id suggest you jump online and read a few Ebooks, if you have programmed in VBA or any other language really you will pick it up very quickly its pretty much just the syntax that changes a little.

 

The key thing you need to know for my sketchs is that they are all based on the Loconet library.

 

The library is a set of code created by  someone that uses key words to pass information to and from it, those  key words make it a lot easier to program.

 

You dont need to know how to use a sketch or write one  for that matter, but you will need to know how to upload one to the arduino. Below is a video, just follow along and pause as you keep up.

 

  1. First you need to download the program called "IDE" from the link -->.

  2. Then install with all the default settings.

  3. It will create an Arduino folder under your mydocuments directory and then a library folder under that.

  4. Now you will need to copy the "Locnet.h" file to the library folder

    1. \Documents\Arduino\libraries\LocoNet

© 2023 BY FREE LINE CREATIVE STUDIO. PROUDLY MADE BY WIX.COM

bottom of page