About a month or so ago you tried to help me with event
>programming. I eventually gave up and used To Do Loops figuring I was
>just too dumb to figure it out.
> I have another situation that requires Event programming. I took
>the code below from the manual. I changed it so I could see leds in
>different parts of the program but I did not change the event part.
> I would expect the code below to delay 5 seconds turn on the
>green led, go to the event subroutine, turn on the red led wait 1
>second and turn it off. From there blink the red led every 1 second.
> What happens is there is a delay of 5 seconds the green led comes
>on and goes out after a second or so then delays 5 seconds and comes
>back on. Like it is rebooting. This time I have nothing connected to
>the board.
> I tried the virtual circuit in chapter 7. That works as expected.
>Could I get you to run this code and see if it works correctly
>please? another question that might be related. Pin 21 is supposed to
>be 5 volt pwr I get 6.49 volts. Is that correct?
>
>c 1.1 + board v 6.1.1 compiler
>
>Dim BLINK As New oEvent
>Dim WIRE As New oWire
>Dim led7 As New oLED
>Dim led5 As New oLED
>
>Sub Main()
> ooPIC.Delay = 5000
> led5.IOLine = 5
> led5.TurnOn
> led7.IOLine = 7
> WIRE.Input.Link(ooPIC.Hz1)
> WIRE.Output.Link(BLINK.Operate)
> WIRE.Operate = cvTrue
>End Sub
>
>Sub BLINK_Code()
> led7.TurnOn
> ooPIC.Delay =1000
> led7.TurnOff
>End Sub
Hello
I have the same problem, I have 5 ooPIC-R boards all purchased within the last 3 weeks
for a project I m working on, has anyone found a work around for the v6 compiler problem?
Do we have any further estimates of when this will be fixed?
I have also observed the following the system continues to loop through the main sub even
when a Do..Loop is included in the Sub, also just linking the event, when executed
corrupts memory locations of other variables in the system, but it appears virtual
circuits are not affected.
This is a time sensative project, any assistance would be appreciated.
Thanks
Rusty
========================================================================
Groups related to oopic
========================================================================
SeattleRobotics (233 common members)
http://groups.yahoo.com/group/SeattleRobotics?v=1&t=ipt&ch=email&pub=groups&slk=aftr0&sec=recg
Mechanical/Robotics: The Seattle Robotics Society is a world wide group...
piclist (183 common members)
http://groups.yahoo.com/group/piclist?v=1&t=ipt&ch=email&pub=groups&slk=aftr1&sec=recg
Microprocessors/Microcontrollers: A discussion group for the PICMicro
microcontrolle...
Robotics (130 common members)
http://groups.yahoo.com/group/Robotics?v=1&t=ipt&ch=email&pub=groups&slk=aftr2&sec=recg
Mechanical/Robotics: Robotics discussion group. This egroup is for thos...
rabbit-semi (119 common members)
http://groups.yahoo.com/group/rabbit-semi?v=1&t=ipt&ch=email&pub=groups&slk=aftr3&sec=recg
Microprocessors/Microcontrollers: This is a user group for folks designing and
progr...
PARTS (107 common members)
http://groups.yahoo.com/group/PARTS?v=1&t=ipt&ch=email&pub=groups&slk=aftr4&sec=recg
Mechanical/Robotics: Portland Area Robotics Society is a club formed to...
------------------------------------

(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )