I2C tethering for Codebug on RaspberryPi
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
codebug_i2c_tether
firmware
.gitignore
CHANGELOG
CodeBugController.py
README.md
ScratchCodeBug.py
dweet.py
example.py

README.md

ALPHA CODE/INSTRUCTIONS _ PLEASE TEST BUT EXPECT ERRORS :)

####I2C tethering for Codebug on RaspberryPi

This allows you to control the Codebug from Scratch on the RaspberryPi by plugging it into the Pins

###MAKE SURE YOU REMOVE ANY BATTERY FIRST Setting Up Follow all instructions about getting it working in Python from the main codebug website and make sure it works

Then download the ScratchCodebug respositry (https://github.com/cymplecy/scratch_codebug) from Github as a zip file into /home/pi

type

unzip scratch_codebug_master.zip

Using ScratchCodeBug Launch LX Terminal and type

cd scratch_codebug_master.zip

sudo python3 ScratchCodeBug.py

this will start the handler

Switch to desktop and run Scratch.

Select sensors block and right-click on bottom sensor block and enable Remote Sensor Connections

You should be up and running - goto http://simplesi.net/scratchcodebug-syntax/ for ScratchCodeBug syntax