Show Posts
Pages: [1]
1  Using Arduino / Project Guidance / Autonomous Tri-Copter Using on: May 14, 2011, 01:41:04 pm
Hi Everyone,

    I am using an Arduino Uno Board as the microcontroller behind my autonomous project. I am using 4 XL-MaxSonar Pin Out Ultrasonic Range Finders (MB-1200). I am setting Pin1 - low. I want to know how to read the reflected data/pulse.

http://www.google.com/url?sa=t&source=web&cd=1&ved=0CBgQFjAA&url=http%3A%2F%2Fwww.maxbotix.com%2Fuploads%2FMB1200-MB1300_Datasheet.pdf&rct=j&q=mb1200%20datasheet&ei=dszOTZWXO4jYgQe_tIDGDA&usg=AFQjCNFYEQz13sNFrhCtzs2uQ_YnUSmdmg&sig2=9-gHRTBgwxt3VaZpyVPrrg

^ Datasheet for MB-1200
2  Using Arduino / Programming Questions / Continous Servo Program on: May 10, 2011, 02:03:21 pm
#include <Servo.h>
int main()
{
  Servo blue;
}

void setup()
{
  blue.attach(9);
  blue.write(180);
}

void loop() {
}

Why is the program kirking out?
Error message: blue was not declared in this scope.
Pages: [1]