Facebook Twitter Gplus RSS
Payday loans uk
formats

Syntax Highlighter Evolved Arduino / Wiring Brush Plugin

I finally got around to making a custom plugin also called a “brush” for Syntax Highlighter that properly highlights the Arduino language called Wiring. I haven’t fully worked out the colors for the different themes but so far the colors I have chosen look nice with the Default theme and the Emacs theme. I’m going to work on the colors more and make specific colors for each theme in the future. Check out the before and after pictures, the before is using standard C++ code and the after is using the custom wiring code. I couldn’t find solid instruction on how to install these brushes so I just figured out a way to make it work on my own and I like the way this works so I don’ t plan to change it. First download the shBrushWiring.js file that I have attached to this post. shBrushWiring Next upload the file to the “/wp-content/plugins/syntaxhighlighter/third-party-brushes/” folder. Now we need to edit a few files, you can either do this directly in WordPress by going to Plugins and

(More)…

formats

Arduino – Analog Read Potentiometer to Digital Out LED + Bonus Photoresistor to LED

Published on July 3, 2011, by in Arduino.

The analog to digital sketches have been covered a million ways from Sunday with every conceivable part but in order for us to move on to more complex circuits and concepts I need to be sure you know these simpler ones. This tutorial wont be quite as in depth as the others because frankly there just isn’t much code. Without further delay I give you the wiring diagram. Another very simple circuit diagram, by the way if you have been wondering what program I am using for these diagram and its actually the most widely used program for diagramming Arduino circuits, its called Fritzing and you can get it here. Its completely Free and has tons of well known parts either built in directly or available for download on the user submission pages. As shown above the Analog signal is positive and as the positive input increases the digital output increases as well. There is of course a pull down resistor in place which is directly connected to the potentiometer, an interested side note and the reason

(More)…

formats

Arduino – Interrupt Tutorial with LED & Switch

Published on July 3, 2011, by in Arduino.

Well well well, Look who’s back for more already. If you’re pushing through these Arduino tutorials screaming give me more then I’d like to be the first to tell you good job and keep it up. Soon you will have this thing called the Arduino mastered and that creation that you had in mind (The one that got you into this mess in the first place) will seem like child’s play once I’m through with you. So throw on another pot of coffee and indulge in whatever other vexes you may have because its 4AM here near Detroit Michigan and I am right there going strong with you. OK so in order to be here you should have already read the first LED tutorial entitled Advanced LED Blink. That tutorial will give you the background on this tutorial and will also help you get started into Arduino’s. So where we left off previously is that we had a working LED blink circuit that was triggered by a momentary push button, the problem was that once

(More)…

formats

Arduino – Advanced LED Blink

Published on June 28, 2011, by in Arduino.

By now you should have your Arduino and have gone through the Arduino Website and maybe you received some documentation with your board which describes the Electrical Engineering Hello World, The LED Blink Sketch. The LED Blink sketch gives you a rough idea of how you will send commands to the micro controller and how the micro controller will communicate with components attached to it. Other than that your pretty much on your own, if you have a background in software programming, especially C, C++ or C#, you will be able to pick up on most of this very quickly. There are some components which take thorough explanation on how they operate but other than that its mostly all in the code. I plan to write several articles and in each one I will cover a circuit, the components and the code. I will introduce and explain components, concepts and code in each one. This first one is the Blink Sketch with a twist and the first thing you will notice is one part needs some explanation as to why its there

(More)…

formats

Arduino – GettingStarted ~A Must Read

Published on June 16, 2010, by in Arduino.

Arduino Duemilanove I have always been into Electrical Engineering and in fact is what I originally started going to college for. I however already had tons of knowledge and experience in Network Administration so that is my real career. I recently decided to not give up on something I love and I picked up several books relating to the subject and have been reading through them sucking up as much knowledge as I possible can. I purchased an Arduino Duemilanove to get started with making things in the real world react to code I made in the virtual world. Here is a quick run down of the hardware. The Arduino comes in several flavors and are based on the ATmel MegaAVR ATmega 128, 328 or 1280 chips although others have been used as well. The ATmega 328 is the current most popular chip to see used on an Arduino and the current most popular version is the Duemilanove, the current most powerful “standard” Arduino is the MEGA. Arduino Mega I’m not going to list the

(More)…

Home Posts tagged "Wiring"