3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Controlling an Arduino with Cocoa (Mac OS X) or C# (Windows)

Step 7Coding in C# (Windows)

Coding in C# (Windows)
«
  • untitled.bmp
  • untitled1.bmp
  • untitled2.bmp
  • untitled3.bmp
  • untitled4.bmp
  • untitled5.bmp
  • untitled6.bmp
  • untitled7.bmp
  • untitled8.bmp
  • last photo ←
»
 Well I finally got the windows part done!! It turns out you don't have to leave the Adruino IDE open when you use C# for programming. You need either Visual Studio or Visual C# express (Free). If you don't want to write the app the setup is included in the source code file at the intro. I would NOT recommend trying to write this program if you don't have experience writing code in C#.

Here are the steps:

Picture 1) Create a new project
Picture 2) Choose "Windows Form Application" & Name it what you want
Picture 3)
This is what you should have
Picture 4)
Find the button in the Toolbox
Picture 5) 
Get 2 buttons & drag them to the window
Picture 6)
Left click on the first one. Under properties, go to title & rename it "On"
Picture 7)
Rename the second button & resize the window
Picture 8)
Select both of the buttons & double click them to create methods for them
Picture 9)
Paste in the code attached below

« Previous StepDownload PDFView All StepsNext Step »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
42
Followers
15
Author:computergeek