Monday, June 23, 2008

[oopic] Re: Sparkfun LCD Troubles

--- In oopic@yahoogroups.com, "ef721" <ef721@...> wrote:
>
>
>
> > As I said earlier, you MIGHT have to actually implement that flow
> > control pin and pull it up (or down) with a 330 ohm resistor. We
had
> > a situation the other day where an object wouldn't work unless an
> > unnecessary IOLine was nevertheless defined.
> >
> > Richard
> >
>
>
> Are you saying that I would have to waste an IO line on flow control
> that I do not need? That sucks. Also, how exactly does flow control
> work, would the flow control have to be high or low for no flow
> control ( meaning it allows strings to be constantly sent)
>
> ,Eric
>

You really need to get a logic probe or scope to do this kind of
work. Something like this: http://tinyurl.com/4pu7km

There are
several inexpensive versions on ebay but this one was "Buy Now".

The following code works in that the IOLine idles high (same as a
real TTL USART) and the bits go low. It is not necessary to define
the flow control which would, I suspect, be an output used only when
the serial port is used for input to throttle the sender.


Dim S As New oSerialL

Sub main()

ooPIC.Delay = 5000

S.IOLineS = 9
S.Operate = 1

Do

S.String = "hello"
ooPIC.Delay = 20

Loop

End Sub


I have not run the signal to a level shifter and on to Hyperterminal
but I'm pretty sure it's correct. Compiler V6 and chip B.2.2+

Richard

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

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