Shop OBEX P1 Docs P2 Docs Learn Events
Translate VB Express to BS2 Template to Prop — Parallax Forums

Translate VB Express to BS2 Template to Prop

JohnBFJohnBF Posts: 107
edited 2009-02-17 19:22 in Propeller 1
I worked through all the versions of Unsoundcode's VB - BS2 templates at http://forums.parallax.com/showthread.php?p=671804·and got them all to work very quickly. I know VB.net fairly well, and PBasic makes the BS2 end very simple.

It ought to be pretty easy to translate this to the prop, but so far I'm striking out - using FullDuplexSerialPlus or BS2_Functions. I'm using the same VB form·(the original simple template) that works fine with the BS2.

Attached is one version of the many variations·of spin routines·I've tried. I'd appreciate any ideas on how to figure this out.

Thanks.

/John

Post Edited (JohnBF) : 2/17/2009 3:03:52 AM GMT

Comments

  • UnsoundcodeUnsoundcode Posts: 1,532
    edited 2009-02-17 06:35
    Hi John, this link http://forums.parallax.com/showthread.php?p=780420 has a program called VB2Prop which can first be used to test your Spin methods, there is some spin code at the same link but it has an error and I mean to replace it . I attach the better VBtest.spin code , try it with VB2Prop to see how it works then try your own code.

    Any problems and I will be glad to help if I can.

    Jeff T.
  • JohnBFJohnBF Posts: 107
    edited 2009-02-17 15:18
    Thanks, Jeff. This looks great. Unfortunately my schedule changed and I won't be able to get back to it for a couple of days - but it's something to look forward to during some boring meetings in the meantime!

    I'm a little late to the party but the templates in the original thread are just great - very carefully done and great explanations. Thanks!

    /John
  • UnsoundcodeUnsoundcode Posts: 1,532
    edited 2009-02-17 19:22
    Thanks John , if I had given it a little more thought the first example in that thread could have been more complete.

    I want to stress the the VB2Prop app's·main function·is to recognize the difference between sending an ASCII character·or string·and a byte value ,·my spin code just echoes the values back for verification . It's also a good terminal / debug app.

    If I get the time I will·edit and add the source in this post·of a stripped down VB2Prop app that should enhance the original template and give you a better platform to start from. If that interests you check back next week sometime.

    Jeff T.

    ·
Sign In or Register to comment.