Home > Computer Programming > Getting Arduino up and running on the 1057 computers

Getting Arduino up and running on the 1057 computers

October 14, 2015 Leave a comment Go to comments
  • Log in on the Windows side
  • Plug in your Arduino to the machine and make sure the training shield is on properly. Don’t bend the pins.
  • Open up the Aceduino folder (link on the desktop) and run Arduino.
  • Pull down the Tools menu and choose Board, ACEduino w/ ATMega328.
  • You may need to change the COM port through the Tools, Serial Port menu item.
  • Paste the following into the window and click the upload button…

// Pin 13 has an LED connected on most Arduino boards:
int pin = 13;

void setup() {
  // initialize the digital pin as an output.
  pinMode(pin, OUTPUT);
}

void loop() {
  digitalWrite(pin, HIGH); // set the LED on
  delay(1000); // wait for a second
  digitalWrite(pin, LOW); // set the LED off
  delay(1000); // wait for a second
}
Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s