Jump to content

Vengence19

Members
  • Posts

    11
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hey guys, i was wondering if anybody knew how to get hold of Anubis? We are looking at using his Mod for an official USAF Herc sim Any help would be appriciated
  2. code worked a treat buddy, your a legend, spat out the perfect servo position. Keeping that one in the back pocket
  3. awesome, cheers mate. i just didnt understand where to place code in existing code.
  4. sorry to ask so many questions, very new at the whole Arduino thing. so im not sure how i proceed with adding more code to a sketch
  5. the big question is do i just add that to the bottom of the code you cave me?
  6. sweet, cheers, i have the 1602 unit. which i have working
  7. perfect, your a legend. Im sorry to ask one more..where would i find code to outout to an LCD
  8. I found this for controlling the servo, // Controlling a servo position using a potentiometer (variable resistor) // by Michal Rinott <http://people.interaction-ivrea.it/m.rinott> #include <Servo.h> Servo myservo; // create servo object to control a servo int potpin = 0; // analog pin used to connect the potentiometer int val; // variable to read the value from the analog pin void setup() { myservo.attach(9); // attaches the servo on pin 9 to the servo object } void loop() { val = analogRead(potpin); // reads the value of the // potentiometer (value between // 0 and 1023) val = map(val, 0, 1023, 0, 179); // scale it to use it with // the servo (value between 0 and // 180) myservo.write(val); // sets the servo position according // to the scaled value delay(15); // waits for the servo to get there }
  9. sweet, cheers mate. So i got the pot to move the servo, and have an LCD connected. This may sound like a noob question, but i dont understand how to get the out out reading from the servo
  10. awesome mate, cheers. ive never had to connect an LCD, so that will be fun to learn :) How do i connect the POT to the gauge? And the next question is, would it be best to have the aircraft in the cold state or aircraft running? and do we add that sketch you've written to the dcs-bios sketch?
  11. Heys, new to DCS-BIOS and was hoping for some help. How do i know what value i should use for servo pulse positions numbers?
×
×
  • Create New...