Posts

Showing posts from January, 2014

Using a button to override sensor switch Help

hi all, i in process of fine tuning garduino, self monitoring watering system. have code , kit , working well. want include switch in code enable me turn pump on manually (ie if feel plants need additional burst of watering hit space bar on laptop , trigger pump pump). dont want affect day day self operating functionality of system. should using if function switch , how piece of code fit in rest of it. code far follows; code: [select] //define analog inputs have connected our sensors int moisturesensor = 0; //define digital outputs have connecte our relays (water , light) , led (temperature) int waterpump = 7; //define variables store moisture, light, , temperature values int moisture_val; //setup variable store seconds since arduino switched on float start_time; float seconds_elapsed; float seconds_elapsed_total; float seconds_for_this_cycle; void setup() {  //open serial port  serial.begin(9600);  //set water, light, , temperature pins outputs turned o...

LCD Messages priority

hi, i ask has done evolve messages managment on lcd. i have stamping on lcd refresh each seconds 22:52:56   saturday 4 dec ad sometime have time tasks stuff. eg : @ 22:52:59 put red light on. then displau on lcd during 5 seconds example 22:52:59    red light on then after 5 seconds elapsed, stamped information comming back 22:53:03   saturday 4 dec i know how display informations, need how appropriate design , how think have implement feature ? thank you for instant, code doing that code: [select] void loop()  {            alarmmng.checkingalarms();            functask.affichedateetheure(); }         alarm manager checking if actual time 1 correspond timed task functasks class contains method display time , date each second. didn't ask before? :-? it not simple do. easiest way have external storage (sd card or something) stored messages ,...

Thread: UNR on Aspire One: SD slot doesn't work!

Image
hello everyone! first of sorry bad english! exhausted winxp, 3 days ago i've installed on acer aspire 1 (a110x) ubuntu netbook remix . good: pc it's 3x faster before! there little big problem: the sd slots (there 2) don't work! i've read documentation unr+aspireone, , reported i've tried insert sd card before boot ... in /media don't see card slot... glad if can me fix problem! thx! Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Hardware UNR on Aspire One: SD slot doesn't work! Ubuntu

can i use other languages in arduino?

hi i'm new these kinds of things. wondering if can use other programming languages besides c/c++. i'm used programming java , great if can use instead of c. thanks! two possible answers you: yes, it's no easy , learning c++ faster making work. no, except if put lot of work not worth investing. choose 1 prefer. korman Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > can i use other languages in arduino? arduino

Need help with bootloader for m328p

i'm trying upload boot loader blank atmega328p. but process sooo confusing me. im using usbtiny programmer atmel target board, on linux system. i'm gonna using external crystal clock, 16mhz. as far process this: unlock fuse bits, set new fuse bits, upload boot loader, lock fuse bits. but how avrdude confused. getting high , low fuse bits form m328 pretty easy code: [select] avrdude -c usbtiny -p m328p -v hfuse d9 , lfuse 62 , extended ff. but value use lock , unlock fuses? also tried using fuse calculator new fuse values http://www.engbedded.com/fusecalc/ but it's confusing, think i'm suppose use 0xda hfuse , 0xff lfuse, 1 suggested me. never got those values calculator. not sure think code like: code: [select] avrdude -c usbtiny -p m328p -u lock:w:0xff:m -u lfuse:w;0xff:m -u hfuse:w:0xda:m not sure "-u lock" value. then bootloader be: code: [select] avrdude -c usbtiny -p m328p -u flash:w:path/to/bootloader then re-lock fuse bit: code: [select] avrd...

Thread: switch from ath5k_pci to ath_pci wg511t card

can that? im running netgear card , running @ 1mbps ath5k_pci, on wife's machine runs 24mbps , ath_pci. there way me switch default ath_pci? please , in advance. sure there is. instance can find ath_pci system / administration / hardware drivers, might go under name madwifi, enabling 1 should hard work you. if doesn't work, isn't hard manually either, still it's easiest try automated way first. oh , if 1 mb/s bit rate in iwconfig, can try using sudo iwconfig wlan0 rate 54m instance 802.11g speeds without having reinstall drivers or anything. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] switch from ath5k_pci to ath_pci wg511t card Ubuntu

Audio Recorded becomes choppy

Image
let me start saying have used robodemo, macromedia captivate , adobe captivate 2 each software became available. i'm pretty comfortable product. just recently, recording audio on slide. when previewed project noticed several words cut off in middle throughout presentation. i started watch more closely. when record slided (not of time, become more frequent) play audio , notice audio has cut off words or groups of words during recording. my original installation of adobe captivate 2 originated upgrades of robodemo, macromedia captivate , adobe captivate. uninstalled , reinstalled , problem persists. i decided uninstall of upgrades , install full version of adobe captivate 2, problem persists. i'm out of options here. not new computer. same computer have used last year. no new software/hardware has been installed. any can give appreciated. hi kelly the thing comes mind here perhaps pc may need tune up? may wish try utility such advanced system optimizer or boost...

Problem loading OBJ in Pi3D - Raspberry Pi Forums

got problem loading obj format model pi3d. code i'm using load model in same directory code , pi3d files. mymodel = pi3d.loadmodel("ship.obj","test", 0,-1,-20) reassuring text suggests in directory department... loading ship.obj /home/pi/desktop/stuff/pi3d materials: {} numv: [894] len uv= 151 indices= 894 vertices= 2682 normals= 2682 tex_coords= 1788 ...and error message kinda states obvious... file "include/loaderobj.py", line 19, in parse_mtl f = open(fname, 'r') ioerror: [errno 21] directory: '/home/pi/desktop/stuff/pi3d/' need use obj format files in pi3d (paddyg, you'll know why;) need 'legit' ones work before start generating own appreciated. i think means it's directory not file! don't know without seeing mtl file error looks couldn't find mtl or texture file. have put them? think loaderobj can cope without textures info message uv implies there 1 specified. things have...

I need help writing code for Robot.

i built robot 3 servos. , ping))) ultrasonic sensor. i needed writing code program. how tell arduino start servos when ping sensor determines specific distance. i have working. need "how make ping sensor tell steering servo turn , 2 movement servos stop? sorry, im new ping sensor. thanks guys got it. :] Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > I need help writing code for Robot. arduino

Arduino DMX Examples not working?

i'm trying power 4 dmx channels arduino diecimila. keep getting error in code saying: error: port_to_output not declared in scope this example code arduino website: code: [select] /* dmx shift out arduino - 004 , 005 * ------------- * * shifts data in dmx format out dmx enabled devices * extremely restrictive in terms of timing. therefore * program stop interrupts when sending data * * elektronic foundation dmx rs 485, have use   * max-485 or 75176. * * wirring sending dmx max-485    1 - ro  - receiver output --- set ground 100 ohm resistor    2 - re  - receiver output enable -- set ground    3 - de  - driver output enable -- set 5v    4 - di  - driver input -- input arduino    5 - gnd - ground connection -- set ground -- refence dmx singal --- (dmx pin 1)    6 -   - driver output / receiver input -- dmx signal (hot)------------------ (dmx pin 3)    7 - b ...

Using the Arduino Ethernet Shield and PHP Web

hello, could me syntax needed sending parameter via ethernet shield client.print statement? i reading analog value of pin....when send serial reads value fine. when construct code pass parameters php website, code works fine hard coded values ie: client.println("get /test.php?value0=123&value1=456"); this sends code website..my php script grabs , website output of 123 , 456. when try little more coding, capture analog reading int variable....but when try pass bad response apache ie; client.print("get /test.php?value0="); client.print(analogvalue); client.print(&value1=456); client.println(" http/1.1\n"); as see i'm trying code line consisting of text , analog value....but doesn't work. i've looked @ kinds of examples on web can't seem work out how pass variable within text string? please help. thanks try this: code: [select] client.print("get /test.php?value0="); client.print(analogvalue); cl...

Help with air ride code....

fair warning first code have written. when load code on arduino , have running through lcd runs fine little bit, of sudden seems jumps out of loop , starts doing whatever wants. did miss in code. help/input great. thank in advance. haven't hooked wires arduino yet, lcd serial wires. code: [select] //read air pressure in air bags, 4 air pressure sensors on analog pins 0-3 //2 tank sensors connected analog pins 4,5 //air ride control unit attached digital pin 13-6 //2 push buttons connected digital pins 2,3 interrupt , clear display upper , lower tank //2 push buttons connected digital pins 5,4 set ride heights //uses moderndevice 20x4 lcd screen const int psisensor1 = 0;    //set lf bag sensor input on analog port 0 const int psisensor2 = 1;    //set rf bag sensor input on analog port 1 const int psisensor3 = 2;    //set lr bag sensor input on analog port 2 const int psisensor4 = 3;    //set rr bag sensor input on analog port 3 const int ...

arduino bt help

hello, everyone. new forum , arduino. looking guidance , newbie all. have arduino bt board , 2xlm national temperature sensors read designed read in fahrenheit. have example code arduino have uploaded , able stream data, data getting wrong. correct program print in f , time stamp each reading. thank in advance. post program in separate post. // define analog input pin have connected temperature sensor #define temp_sensor_pin 0 // if tie arduino's vref 3.3 volt supply, change 3.3 #define analog_votlage_reference 5 void setup() { serial.begin(115200); } void loop() { // prints currrent temperature 1 place after decimal point printfloat(gettemperature(), 1); // print carriage return serial.println(); // rest 100 milliseconds delay(100); } float ctof(float c) { // optionally convert celsius farenheit if sorta thing return c * 9.0 / 5.0 + 32.0; } float analogintodegreesc(int inputvalue) { // divide 1023, maximum possible input...

Thread: how to get new firefox on ubuntu?

to honest expected update manager have new firefox ready go, not case, expected firefox's website have .deb ready me, no go on 1 either. how replace old firefox (not looking have 2 versions of firefox installed)? not finding on google (just tips install 3.5 when in beta) hi, firefox 3.5 final version available download. wait in official ubuntu repo. if u want try now, .tar.bz2 format file linux www.mozilla.com . extract & execute firefox.sh (or this) run it. u can make launcher open quickly. take care. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] how to get new firefox on ubuntu? Ubuntu

Arithmetic Operator question

code: [select] int z; float gz = analogread(z)*0.0048828125 - 1.66; hope can me understand wrong above piece of code. as know analog reading number between 0-1023. so let assume analogread(z) @ given time 250, in multiplication 0.0048828125 return 1.220703125. then 1.220703125 - 1.66 should return -0.439296875. but return positive number of 0.439296875. the intresting part me if go below -1.000 value return same code return correct negativ value of -1.000.  :-? this part of bigger code calculates analog g-sensor value in volts , g force. therfore 5/1024 = 0.0048828125 volt calculation. hulk, assuming z uninitialized automatic (stack) variable , reading pin z, (potentially) reading undefined pin.  therefore return analogread unpredictable. the expression assigned gz works fine long analogread() indeed returning number between 0 , 1023. mikal Arduino Forum > Forum 2005-2010 (read only) ...

Why not slightly larger cases? - Raspberry Pi Forums

the standard cases i've seen have sd card hanging outside case, seems daft idea , number of reports people they've broken sd card/port seems bear out. why not make cases larger majority of card enclosed, need small bit of extruding able remove it? worries me i'm thinking of buying standard box maplins , cutting rough holes in cables. haven't got tools or skills decent job if prevents breaking sd card or pi, that's more important having nice looking box. only few cases have been reported tbh , small hole give same sort of issue - can try 1 of microsd mods - have no stick out bit raspberrypi

Thread: Configure LikeWise Open5 Auth with AD

ok i'm having problem configuring likewise authenticate local rights based on domain rights. have domain admin rights when log onto machine ad credentials restricted regular user rights. able @ least have domain admins have local admin rights while rest of users on network have regular rights. fine me since not need more rights that. if there way assign rights baised off of ad rights great. well pretty sure should trick, though having issues setting ad integration, may wrong. sudo sudovi add line @ end %yourdomainname\\domain^admins all=(all) all give "domain admins" group sudo rights, if prefer different group have sudo rights replace part, using ^ spaces. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] Configure LikeWise Open5 Auth with AD Ubuntu

Thread: open source philosophy and Apple

Image
hi, simple (stupid?) question, (no flame no trolling, i'm new here ) on desktop side old (10 years ago), mac user, passed win ubuntu. yesterday have flashback installed mac osx on laptop, , see: yup! that's unix x86 system (=linux), isn't it? how possible apple has taken opensource os , has put in completly closed one? not easier run mac apps instead of win apps on linux? (i mean why wine photoshop instead of....) edit: ok bsd unix license, here's answer, (i thought gnu license, not) thanx second part of question: > not easier run mac apps instead of win apps on linux? (i mean why wine photoshop instead of mac photoshop....) > never see mac apps porting projectsto install on linux (gargeband, ilife etc.), why? >if iphone os open, why not porting apple widgets on linux, androide ones? linux community coolest, frinds thanx answer, m. i'm little out of le...

Control Arduino via Twitter sans computer

hi, i've been looking form information on have not been successful.  there ton of examples tweeting arduino, not many aboutdealing inverse, i.e. controlling arduino via twitter.   the project i've been working on riff on persons project used linux based router check twitter account, parse results, , output serial string arduino. i'm having hell of time dealing router solution (linux not forte).  i'd ideally handle of wifi enabled arduino (blackwidow maybe?).   the plan arduino @ 3 different twitter account feeds (xml) , check each 1 match list of words in program.  for instance, program have list of twelve words ("one", "two", "three",...,"eleven", "twelve"), , if 1 of these words show in feed, thing supposed happen when words seen. i think easiest way handle have script of sort running on webserver checks twitter feeds, parses out words, , creates output easy arduino make sense of, rather having arduino parse ...

Captivate Doesn't Launch in IE 7.0

Image
i built short course, launching using hyperlink page in our learning portal. course launches , runs using ie 6.0 browser, when colleague, uses ie 7.0, tries launch course, appears launch, , appears finding right url, displays small icon, looks graphic icon. has seen before? there fix? hi eileencc , welcome our community where project located? user having issues ie7 viewing local pc or network or web server? what describing sounds if files aren't present. example, many folks coming captivate 2 captivate 1 unaware additional files involved. example, file named standard.js. , behavior describing seem indicate file missing. is possible user seems work opening moviename.swf directly, while user failing possibly opening companion html page? and finally, user things aren't working have ability view other flash content? may want them visit this link , ensure flash operational. hopefully 1 of these tidbits useful. cheers... rick More discussions in Adobe Captivate a...

MIDI: What if you don't send noteOff?

just quick question midi gurus out there; happen if send series of "note on" events through midi synth (ableton live) never send note off messages? akin memory leak? if i'm triggering drum samples , not pads (like strings or continuous tones) sample play once each note on message, stop? or continue loop sample on , on , on again? reason i'm asking i'd make midi controller multiple drum sample triggering, haven't figured out way send note off message @ point in future while i'm polling piezo sensors data. i think depends on instrument - hardware midi instrument cut tone when reaching voice limit. you send "all notes off" controll command. Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > MIDI: What if you don't send noteOff? ...

Thread: What is maximum ram?

assuming mother board can handle it, whats max ram can use in 9.04 amd64 ubuntu please? 9.04 x86? thanks! in 64-bit far more you'll ever able fit in near future. in 32-bit can fit as please, there address limit of 3.5gig. Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] What is maximum ram? Ubuntu

What do I need to send and recieve data

i'm purchase bunch of stuff need know additional stuff need get. main goal send data arduino c# , receive data arduino in same c# program. if buy arduino mega, other components need? have looked on internet haven't found clear definitive answer. don't know if need serial usb adapter or if arduino somehow tells computer usb port can used com port. thanks you don't require additional arduino board. part of arduino software installation installing ftdi usb serial comm driver. once loaded pc system show new additional comm channel (mine shows com4) anytime arduino plugged pc. pc application programming language can talk pc comm ports have path send , receive serial data attached arduino board. lefty Arduino Forum > Forum 2005-2010 (read only) > Software > Interfacing > What do I n...

on load button "over" does not work until mouse moved

hello, i have flash menu loads page. when loads, users mouse pointer on 1 of buttons. (because clicked on button on past page in same location). button on new page not realize pointer on until user moves mouse slightly, switches "over" state. there way of letting flash know mouse on button, though mouse has not moved yet? thanks! you can't control true button's states actionscript. are using button component? More discussions in ActionScript 1 and 2 adobe

Help with servo problem

Image
i've wired hd-1900a microservo , 10kohm pot arduino, aswell led array of 10 bits. array works perfectly, , servo setup works little while, if twitch pot servo hangs , won't move until reset, stops on it's own after while. http://www.pololu.com/file/download/hd-1900a.pdf?file_id=0j321 that's link datasheet servo. code: [select] #include <servo.h> #include <math.h> int pin[10],pot = 0; int val = 0; servo servo; void setup(){  for(int = 0;i < 10; i++){    pin[i] = 4+i;    pinmode(pin[i], output);    servo.attach(3);  } } int n = 0; void loop(){    val = analogread(pot);  if(val & 0x0001)    digitalwrite(pin[9],high);  else    digitalwrite(pin[9],low);  if(val & 0x0002)    digitalwrite(pin[8],high);  else    digitalwrite(pin[8],low);  if(val & 0x0004)    digitalwrite(pin[7],high);  else    digitalwrite(pin[7],low);  if(val & 0x0008)    digitalwrite(pin[6],high);  else    digitalwrite(pin[6],low);  if(v...

data type int: 2 bytes or 4 ?

hi, does 'int' data type consist of 2 bytes or 4? code:  int = -1;  serial.println(a, bin);  byte = highbyte(a);  byte b = lowbyte(a);  serial.println(a, bin);  serial.println(b, bin);    int b = word(a, b);  serial.println(b, bin);  serial.println(b, dec); ------------------------- output: a = -1 11111111111111111111111111111111 11111111 11111111 11111111111111111111111111111111 -1 a = 31000 111100100011000 1111001 11000 111100100011000 31000 a = -31000 11111111111111111000011011101000 10000110 11101000 11111111111111111000011011101000 -31000 the reference section gives int 2 bytes. also, how can function word() reassemble 4 bytes? takes 2 times 1 byte arguments. right? again, number of bytes 2 positive numbers , 4 negative ones. correct? thanks clarification, newbee on arduino, 2. how can have different numbers of bytes positive , negative numbers? google 'twos complement' Arduino Forum ...

germani.php (UTF-8) Akobook und SecurityImage - Joomla! Forum - community, help and support

hatte das problem das akobook 1.1.2 die umlaute nicht richtig dargestellt hat, da ich die globale zeichencodierung auf utf-8 umgestellt habe, und hab daher die germani.php in utf-8 codierung umgewandelt. sowohl für akobook plus 1.1.2 und security images 2.0.0 in utf-8 konvertiert. download unter folgenden links: akobook 1.1.2: http://www.aah.at/downloads/joomla.html security image 2.0.0: http://www.aah.at/downloads/joomla.html mfg konkret Board index Joomla! International Language Support International Zone German Forum Archiv Joomla! 1.0 Komponenten, Module, Mambots 1.0.x

No user/passwd at startup - Raspberry Pi Forums

i'm using wheezy pi. have no access user name & passwd @ startup, going straight gui. ssh disabled , have entered new password in raspi-config no avail. means unable access aptitude package manager root. there fix problem? thanks what terminal (xterm or whatever ) , sudo ? if want root password code: select all sudo passwd root use sudo in front of command run root. ghans raspberrypi

Thread: Gparted says my wife's pendrive has a partion of -510 B?

Image
my wife's pendrive has been nothing trouble. having learned couple of days ago gparted backed , used gparted take @ it. had 2 partitions, both flagged boot. deleted both partitions. 1 showed size of zero, other showed size of -512 b , therefor won't let me carry out more operations on it! that's new 1 on me. suggestions creating new single partition, can format fat32. regards, brawd. posted brawd one showed size of zero, other showed size of -512 b , . sounds corrupted code: man mkfs.vfat man parted don't run these commands till sure do if know location of drive maybe like /dev/sdb1 or /dev/sdc1 code: parted /dev/sdb rewrite partions code: mkfs.vfat /dev/sdb1 above commands destroy data on selected drive make dos filesystems can see partions mounted command code: df ...

Making the same code work for more sensors.

hi there, wrote code make single light dependant resistor activate led light , send midi messages laptop: code: [select] int lightpin =0; int ledpin =9; int treshold = 400; int lightlevel = 0; void setup() {  pinmode(ledpin, output);  serial.begin(9600); } void loop() {  int lightlevel = analogread(lightpin);  serial.println(lightlevel);  if (lightlevel >= treshold){    switchled();    delay(500);  } } void switchled(){  if (digitalread(ledpin) == high){    do {      digitalwrite(ledpin,low);      midi_tx(144,60,127);      delay(100);      midi_tx(128,60,127);      delay(100);          }    while(analogread(lightpin) > treshold);  }  else if (digitalread(ledpin) == low){    do {      digitalwrite(ledpin,high);      midi_tx(144,61,127);      delay(100);      midi_tx(128,61,127);      delay(100);    }    while(analogread(lightpin) > treshold);  } } // code midi vo...

custom library problem

[size=12]i have created few custom libraries make code cleaner. but when declare variable class in library error---error: expected constructor, destructor, or type conversion before ';' token in function 'void loop()':. here code inside arduino software:[/size] code: [select] //include libraries                                                                                                                                                                                                                                          #include <sensor.h>  #include <wheel.h>  #include <servoview.h>    sensor sight();  wheel wheels();  servoview proximity();    void setup() {    // set other pins you're using outputs:      }  void loop() {        if (sight.viewisclear())    {      wheels.forward(120);    }    else    {      wheels.reverse(120);    }  } [size=12]here class code:[/size] code: [select] #ifndef se...

Thread: ConVirt 1.1 released.

Image
hi new version of convirt released. please check out details. http://www.convirture.com/blog/2009/...now-available/ thanks /jd no 1 post?, fuking nice gui, better virt-manager. Forum The Ubuntu Forum Community Ubuntu Specialised Support Virtualisation [ubuntu] ConVirt 1.1 released. Ubuntu

Website can't communicate with db - SQL Express 2005

here's error message: [macromedia][sequelink jdbc driver][odbc socket][microsoft][odbc sql server driver][sql server]invalid object name. i have connected db through coldfusion admin. can see tables in sql express 2005, manipulate them, etc... when fire website, error. can't figure out how solve , i'm desperate @ point. thanks help. lol - figured out 5 minutes after posted (3 hours after started). had driver pointing master database instead of 'real' db beneath it. had changed settings previously, didn't take hold until rebooted server. ... ms nightmare never end? why went cf in first place. cf works. ms series of endless patches. More discussions in Database Access adobe

Thread: No Desktop

after installing latest version of ubuntu (9.04) not have bars along top , bottom of screen. have pentium 4 , radeon 9800, , im running 2 monitors. if can tell why don't have bars , me them grateful. i ended reinstalling ubuntu after deleting config file gnome needed. won't mess time. open terminal or press alt+f2 , type code: gnome-panel if doesn't work, may have screwed gnome/panel settings somehow.. restore them default, have @ http://www.watchingthenet.com/restor...-settings.html Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] No Desktop Ubuntu

Sending variables to file upload page

i'm working on app users can upload logo company. i'm able create folder logo based on company name ahead of filereference.browse() function, there way send name of newly created directory along filedata page upload? can't guarantee people name image different else, , while coldfusion create unique name if needed, flex doesn't know happened potentially storing incorrect filename unless can save image in company's directory. here code - simple flex switch (accountchoice.selectedvalue) { case "club / venue": var fileupload:string = '/hr/imageupload/clublogo.cfm'; break; case "band / artist": var fileupload:string = '/hr/imageupload/bandlogo.cfm'; break; case "partner / advertiser": var fileupload:string = '/hr/imageupload/adlogo.cfm'; break; } filename = fileref.name; clublogo.text = filename; var uploadcfm:urlrequest = new urlrequest(); uploadcfm.url = fileupload; fileref.upload(uploadcfm); c...

Robot freaking out about new code???

hey guys, robot walbot started out using 1 ultrasonic sensor navigate rooms, tried add 2 sharp ir sensors, , updated code work them if senses object on right turn left , vice versa, if 3 sensors blocked turn around. have gotten components work (i have used sharp ir sensors , give me correct values back) when put started getting bunch of whack false readings , became paralyzed. have gone on code couple of times see might causing react strangely can't seem find problem is. appreciated.   code: [select] int motor1a = 10;  // h-bridge input 1             int motor1b = 11;  // h-bridge input 2               int enable = 3;     // h-bridge motor 1 enable int motor2a = 9;  // h-bridge input 3             int motor2b = 8;  // h-bridge input 4               int enable2 = 5;     // h-bridge mot...