Hi. I got hold of an old desktop with a parallel port & tried my new
ooPic III+ starter kit today (Compiler 6.1.1, Board ooPic S,
Firmware B.2.X+).
The "hello world" using supplied example (LED flash on I/O 31. pin
26) did not work. I seem to be getting what I would expect on all
pins apart from nothing on this pin & +5V constant on Pin 37 (I/O
22).
If I reset, remove & reapply power, whatever I do I get no output on
any I/O pins apart from 5V on Pin37 constant.
Latest try is:
Dim iol24 As New oDIO1
Dim iol25 As New oDIO1
Dim iol26 As New oDIO1
Dim iol27 As New oDIO1
Dim iol28 As New oDIO1
Dim iol29 As New oDIO1
Dim iol30 As New oDIO1
Dim iol31 As New oDIO1
Sub Main()
ooPIC.Delay=5000
iol24.IOLine = 24
iol25.IOLine = 25
iol26.IOLine = 26
iol27.IOLine = 27
iol28.IOLine = 28
iol29.IOLine = 29
iol30.IOLine = 30
iol31.IOLine = 31
iol24.Direction = cvOutput
iol25.Direction = cvOutput
iol26.Direction = cvOutput
iol27.Direction = cvOutput
iol28.Direction = cvOutput
iol29.Direction = cvOutput
iol30.Direction = cvOutput
iol31.Direction = cvOutput
Do
iol24.High
iol25.High
iol26.High
iol27.High
iol28.High
iol29.High
iol30.High
iol31.High
Loop
End Sub
Result... nothing other than pin 37 high constantly, I would expect
+5V constant on these pins.
I've tried the getout mentioned on here... removing Bank E0,
downloading & putting back, etc.
Do I have a dead one? Anything else worth trying?
Cheers,
Steve
------------------------------------

(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )
try rewriting these items
iol24.Highiol25.High
as
iol24=1iol25=1
and see if they change.
http://www.windowslive.com/explore/messenger?ocid=TXT_TAGLM_WL_messenger_yahoo_082008
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of oopic -- send a blank email to oopic-subscribe@yahoogroups.com )
Hi thanks for the advice chaps.
I tried the code re-write & it made no difference at all.
I've got a cheap old laptop coming I got off eBay, so will try it on
there when it comes (I haven't got access to any other PC with
Parallel port).
If that doesn't work, I will talk to the suppliers... Active Robots
... & get a refund.
Cheers,
Steve.
--- In o...@yahoogroups.com, Dave Warner
wrote:
> try rewriting these items
>
> iol24.Highiol25.High
> as
>
> iol24=1iol25=1
>
> and see if they change.
>
http://www.windowslive.com/explore/messenger?ocid=TXT_TAGLM_WL_messenger_yahoo_082008
>
> [Non-text portions of this message have been removed]
>
------------------------------------

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