Client to provide access to the propeller for loading binaries and serial terminal
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dependencies
logo
propeller-c-lib
propeller-lib
propeller-tools
.gitignore
BlocklyPropClient.linux.spec
BlocklyPropClient.py
BlocklyPropClient.windows.spec
BlocklyPropHTTPRequestHandler.py
BlocklyServer.py
InstallDependencies.py
PropCCompiler.py
PropC_library_finder.py
PropellerLoad.py
README.md
SerialSocket.py
SpinCompiler.py
blocklyprop.ico
c_code_file
ip.py

README.md

BlocklyPropClient

Introduction

The BlocklyPropClient is a Python client for the hosted version of BlocklyProp. It provides the spin and Prop-C compiler, it can load your programs in to the prop and creates a serial connection from the browser to the propeller.

Running

BlocklyPropClient has been written using Python 2.7

You will first have to install some python dependencies before you can run BlocklyPropClient.

  • ws4py
  • pyserial
  • cherrypy

These can all be installed using the auto-installer by running the following in the terminal: 'python InstallDependencies.py'

Then do: python BlocklyPropClient.py

Building

If you want to create an executable to distribute to users:

Install pyinstaller (using pip) and do: pyinstaller BlocklyPropClient.xxxxxxx.spec

where you replace xxxxx by your OS. The distributable folder is available under the dist directory.

If you run the executable inside this directory, python nor any of the dependencies need to be installed on that computer.