but don't use the event object, so I should be able to check out the
rest of them at least
In the code below it will not compile
I have this in the wire vc instead
WIRE.Input.Link(ooPIC.Hz60)
WIRE.Output.Link(BLINK.Operate)
everything else is as below
--- In oopic@yahoogroups.com, ooPIC Tech Support <dennis.clark@...>
wrote:
>
> Now we have the makings of a batch problem. It sure looks like
a
> batch issue since there are at least two of you that have the
problem on
> multiple parts. I've raised the flag at manufacturing and I'll
get back
> to you on how to get the units swapped for working ones as soon as
the
> information gets to me.
>
> ***
> If anyone else has C1.1+ ooPIC parts please use this program
below to
> check to see if it works properly. If you get the symptoms that
have
> been stated here then contact the list and I'll get you in touch
with
> replacements too.
> ***
> DLC
>
> ************** Program to check ooPIC C1.1+ devices
> This code flashes LED 7 at a .5Hz rate if all is right..
>
> Dim BLINK As New oEvent
> Dim WIRE As New oWire
> Dim led7 As New oLED
> Dim led5 As New oLED
> Dim flag As New oByte
>
> Sub Main()
> flag = 0
> ooPIC.Delay = 500
> led5.IOLine = 5
> led5.TurnOn
> led7.IOLine = 7
> WIRE.Input.Link(WIRE.Input
> WIRE.Output.WIRE.Output
> WIRE.Operate = cvTrue
> End Sub
>
> Sub BLINK_Code()
> If flag = 1 Then
> led7.TurnOn
> flag = 0
> Else
> led7.TurnOff
> flag = 1
> End If
>
> End Sub
>
> s.k.f. wrote:
> > I just got a bunch of these too and thought I would see what
mine
> > would do with this code.
> >
> > exactly as you stated. green blinks twice. then starts blinking
med
> > to full intensity the comes on and stays on.
> >
> > using the 6.1.1 compiler and the c1.1+ chip. I bought 10 of
these
> > wonder if they all have the glitch
> >
> > some other interesting test:
> >
> > added line led7.TurnOn after the led7.ioline=7 and then the red
one
> > comes on but not as it should green still turns off and on too.
both
> > stop and stay on after about 6 seconds
> >
> > moved the oopic.delay to before the sub main() and the leds
continue
> > to blink, in sync then out. blinking doesn't stop however. this
is
> > doing something to the rx line too as the led in the usb cable
rxled
> > has a short flash now and then.
> >
> > remove the oopic.delay all together and the leds blink fast then
> > stay on.
> >
> >
> > --- In oopic@yahoogroups.com, ooPIC Tech Support <dennis.clark@>
> > wrote:
> >
> >> Yes,
> >>
> >> Replace the ooPIC C, it must have a bad version of the code
in
> >>
> > it.
> >
> >> The code that I sent you works perfectly here.
> >>
> >> DLC
> >>
> >> dldlhfd@ wrote:
> >>
> >>>
> >>> Oopic C.1.1+ Oopic C Carrier board 6.1.1 compiler
> >>> To refresh your memory, I have been having trouble
getting
> >>>
> > the events to
> >
> >>> work. We have sent email back and forth You sent this program
> >>>
> > saying that if
> >
> >>> it did not work then you thought my chip was broken.
> >>> I tried the program and the results were:
> >>> The green led comes on flashes and changes intensity and
> >>>
> > then stays on.
> >
> >>> It never goes to the subroutine to turn on the red led as it
> >>>
> > should.
> >
> >>> So I talked to the people at the Bot Shop and they
arranged
> >>>
> > with Savage
> >
> >>> and sent me a new chip. The very first thing I did was put
the
> >>>
> > chip on my
> >
> >>> board and try the program. It did exactly the same thing with
> >>>
> > the new chip as it
> >
> >>> did with the old. Just to make sure it was not the carrier
> >>>
> > board I took the
> >
> >>> chip off the board, put the chip on my proto board and put
the
> >>>
> > 9 volt
> >
> >>> battery to pins 24 and 23. I got he exact same reaction. The
> >>>
> > red led in the sub
> >
> >>> routine never comes on.
> >>> This is very frustrating. Every thing else that I have
> >>>
> > tried works. Do
> >
> >>> you have any suggestions for me?
> >>>
> >>> In a message dated 2/4/2008 12:09:35 A.M. Eastern Standard
> >>>
> > Time,
> >
> >>> dennis.clark@ writes:
> >>>
> >>> This code works, but it flashes at a .5Hz rate, I wasn't
> >>>
> > interested in a
> >
> >>> 1Hz flash so much as working event code.
> >>>
> >>> ---------------------------------------------------
> >>> Dim BLINK As New oEvent
> >>> Dim WIRE As New oWire
> >>> Dim led7 As New oLED
> >>> Dim led5 As New oLED
> >>> Dim flag As New oByte
> >>>
> >>> Sub Main()
> >>> flag = 0
> >>> ooPIC.Delay = 500
> >>> led5.IOLine = 5
> >>> led5.TurnOn
> >>> led7.IOLine = 7
> >>> WIRE.Input.Link(WIRE.Input
> >>> WIRE.Output.WIRE.Output
> >>> WIRE.Operate = cvTrue
> >>> End Sub
> >>>
> >>> Sub BLINK_Code()
> >>> If flag = 1 Then
> >>> led7.TurnOn
> >>> flag = 0
> >>> Else
> >>> led7.TurnOff
> >>> flag = 1
> >>> End If
> >>>
> >>> End Sub
> >>> ----------------------------------------------
> >>>
> >>> If this code doesn't work for you then your ooPIC is broken.
> >>>
> >>>
> >>>
> >>>
> >>> **************The year's hottest artists on the red carpet at
> >>>
> > the Grammy
> >
> >>> Awards. Go to AOL Music.
> >>> (http://music.aol.com/grammys?NCID=aolcmp00300000002565)
> >>>
> >>>
> >>> [Non-text portions of this message have been removed]
> >>>
> >>>
> >>>
> >>>
> >>> Yahoo! Groups Links
> >>>
> >>>
> >>>
> >>>
> >>>
> >> --
> >> ------------------------------------------------------
> >> Dennis Clark ooPIC Tech Support
> >> www.oopic.com
> >> ------------------------------------------------------
> >>
> >>
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
>
> --
> ------------------------------------------------------
> Dennis Clark ooPIC Tech Support
> www.oopic.com
> ------------------------------------------------------
>
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:
No comments:
Post a Comment