>
> Richard,
>
> Here is the code:
>
> // Simple test for serial mode
>
> oSerialL MP3 = New oSerialL;
>
> // Init Values
>
> MP3.IOLineS = 31;
> MP3.Baud = cv9600;
>
> Void main(Void){
>
> ooPIC.Delay = 100;
>
> MP3.Value = 1;
>
> ooPIC.Delay = 5000;
>
> MP3.Value = 181;
>
> }
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
------------------------------------
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