This Forum is Dedicated For all The Object Oriented PIC Lovers .......... The concept behind OOPic is straight forward. Use preprogrammed multitasking Objects from a library of highly optimized Objects to do all the work of interacting with the hardware. Then write small scripts in Basic, C, or Java syntax styles to control the Objects. During operation, the Objects run continuously and simultaneously in the background while the scripts run in the foreground telling the objects what to do.

Sunday, April 6, 2008

[oopic] Re: oSerialL - Really confused

--- In oopic@yahoogroups.com, "design.wonk" <design.wonk@...> wrote:
>


Another thing to do is to first get the oopic object communicating
with a PC rather than your MP3 device. Then when you connect it to
the MP3, you'll at least know something works.


> ->
> > I believe you need the Init values stuff inside main(). I tried
the following code and watched the outputs (bit-banged output and
real usart output) and they both idle high (expected as that matches
what the PIC does with Tx) and they are identical in timing:
> >
> > Dim s As New oSerialL
> > Dim x As New oSerialPort
> > Sub main()
> > s.IOLineS = 7
> > s.Baud = cv9600
> > Do
> > s = 48
> > x = 48
> > ooPIC.Delay=10
> > Loop
> > End Sub
> >
> > Richard
> >
>
>
> I tried moving the init inside the main, but it did not help. I
think
> that I will order the level shifter and see what is going on with
the
> MP3 player.
>

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

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: