How to use BS2 code downloaded from Parallax.com on the Blockly Prop Software
WakeEngineeringClub
Posts: 2
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!
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
BlockleyProp is a GUI that produces C code for the Propeller chip. You can only import BlockleyProp files.
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.
Our robots are based on the Propeller Activity Board. They say 32912 Rev C on the bottom.
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.