Wednesday, April 30, 2008

[oopic] after i load program to OOBoard oopic B2.2+ i can't connect to the board serial

hi sir
i have the roguerobotics with the oopic b2.2+
after i upload this programe to the board i can't connect to it again
and the serial connection stop.
suddenly hile it works it stoped
when turn it on the motore move slowly for 3 second and stop
i cant connect it to the computer
all led works ok
all built in switch and leds respond ok when press a swith the led is
turned on
i attached the error message i recive when try to connect it to the
computer to upload a programe also i can't erase the eeprom
i use a serial cable
please try to help me quickly tell me what can i do to slove this
problem
I shorted those ESTOP pads and switch the board on and also can't
connect to the board via serial port
can any one help me please
thanks
' ex 5-2
Dim LeftServo As New oServoX
Dim RightServo As New oServoX
Dim Measure As New oIRRange
Dim Spk As New oSpeaker
Dim LCD As New oLCD
Const TooClose = 70

Sub Main()
Measure.IOLine = 3
Measure.Center = 20
Measure.Operate = cvTrue
LeftServo.IOLine = 29
RightServo.IOLine = 30
RightServo.InvertOut = cvTrue
LeftServo.Value = 127
RightServo.Value = 127
LeftServo.Operate = cvTrue
RightServo.Operate = cvTrue
Do
If Measure.Value < TooClose Then
' Start Turning
RightServo.Value = -127
While Measure.Value < TooClose
'' Keep Turning
' Spk.Beep(100,50,3)
' Delay=300
' Spk.Beep(50,100,3)
' Delay=50
Spk.Beep(64000,100)


Wend
' Now continue turning for a little longer
ooPIC.Delay = 50
' Now go forward
RightServo.Value = 127
End If
Loop
End Sub

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

No comments:

Post a Comment