Shop OBEX P1 Docs P2 Docs Learn Events
How to use BS2 code downloaded from Parallax.com on the Blockly Prop Software — Parallax Forums

How to use BS2 code downloaded from Parallax.com on the Blockly Prop Software

edited 2019-03-29 18:43 in Learn with BlocklyProp
Hello, I am with the Engineering Club at Wake Tech. We have 6 Activity Bots we are learning with.

After adding the PING Ultra Sonic Sensor we found the coding for it on Parallax.com, however the Blockly Prop Client won't accept BS2 code. It says its an invalid file type. Has anyone been able to use the BS2 code thats provided for these? How can we make use of it?

We appreciate any input!

Comments

  • PublisonPublison Posts: 12,366
    edited 2019-03-29 18:49
    BlockleyProp is used fo the Parallax Propeller chip and does not support BS2 Code. Are your Robots Propeller based?

    BlockleyProp is a GUI that produces C code for the Propeller chip. You can only import BlockleyProp files.
  • Activity Bots usually mean Propeller based bots. You can use the native SPIN environment:
    https://www.parallax.com/downloads/propeller-tool-software-windows-spin-assembly

    and download the BS2 function program from the OBEX:

    http://obex.parallax.com/object/164

    to use BS2 functions.

    Is BS2 code imperative for your teachings? If not I would start using Blockley an start learning C.
  • Publison wrote: »
    BlockleyProp is used fo the Parallax Propeller chip and does not support BS2 Code. Are your Robots Propeller based?

    BlockleyProp is a GUI that produces C code for the Propeller chip. You can only import BlockleyProp files.

    Our robots are based on the Propeller Activity Board. They say 32912 Rev C on the bottom.
    Publison wrote: »

    Is BS2 code imperative for your teachings? If not I would start using Blockley an start learning C.

    Our aim is to use the PING sensors in an attempt to navigate a maze. We found some BS2 code for using the PING sensors which brought us where we are now.

    We have been learning C through the block like puzzle piece program. From the tutorials page we found: https://learn.parallax.com/tutorials/robot/activitybot/pingdar-display-activitybot-and-blocklyprop

    & replicated it block for block yet it will not work. We did set the servo horn's position after setting the servo so its calibrated correctly for the degrees we want. We noticed there were a few blocks that now appear a little different so we are wondering if there has been an update since this guide.

    Thanks for the input. We will look into using the SPIN environment.
Sign In or Register to comment.