GithubHelp home page GithubHelp logo

arduino's Introduction

arduinodude

use this on arduino IDLE---c++

Программа обхода препятствий роботом Сейчас попробую показать константную информация для любой программы которая предназначена для обхода препятствий

//Подключаем библиотеку управления сервомоторами, моторами и дальномером #include <Servo.h> #include "motor.h" #include "sonar.h"

//Следующим шагом нужно создать сервомотор поворота головы Servo neck; //Создаем еще и постоянне значения для уточнения углов --константы const int left_ang = 168; const int right_ang = 98; const int front_ang =28; //Нужно задать врмея на поворот, на ваше усмотрение это будут являтся временными константами. С помощью нее нужно установить время в МИЛИСЕКУНДАХ для поворота,разворота,движения вперед. const int time_90 =390; const int time_180= 750; const int time_10cm =220; const int time_360 =1450;

//Остальное будет являтся частью основной программы..

arduino's People

Contributors

surennp avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.