FUZE BASIC upgraded to support the Raspberry Pi SenseHAT

Some great news for owners of the FUZE platform. An update has been released that means you can now interface with the Raspberry Pi SenseHAT using the FUZE BASIC language. The following commands have been added:

  • senseRGBcolour – sets the active colour
  • sensePlot – turns on an LED at the specified location
  • senseLine – plots a line of LEDs
  • senseRect – plots a rectangle of LEDs
  • senseScroll – shifts the LED in the specified direction
  • senseCLS – clears the LED matrix
  • SenseGyroX – returns the GyroX value
  • SenseGyroY – as above etc. and same for all below
  • SenseGyroZ, SenseAccelX, SenseAccelY, SenseAccelZ, SenseCompassX, SenseCompassY,
  • SenseCompassZ, SensePressure, SenseHeight, SenseHumidity and SenseTemperature.

You can find instructions on how to download the new version here.

The SenseHAT attaches to the FUZE by way of the interface board which replicates the GPIO pins. You can see it in action in the video below:

New GPIO wrapper library for the Raspberry Pi

Ben Nuttall has been working hard to create a library which will provide a simpler interface to the GPIO pins. The library is called GPIO Zero. At the moment, on the RPi.GPIO library, there are a couple of commands to set things like the pin numbering system that kids are often told to just “enter and forget about”. This library obfuscates these commands to simplify matters. An example is shown below:

from gpiozero import LED
red = LED(2)
red.on()

Ben has built in several add-on boards so far and aims to make it the easiest way to program the GPIO in Python on the Pi. It’s actually a wrapper for the good old RPi.GPIO library, so existing code will still work the same way. You can read documentation and more information on PythonHosted.org as well as instructions on how to install it. Please bear in mind this is a beta so your mileage may vary!

Install Chromium 45 on Jessie on the Raspberry Pi 2

Conor O’Neill has found out that the Ubuntu developers have been continuing to build Pi-compatible versions of desktop browser Chromium. He has documented a way to install it on the new Jessie version of Raspbian on his website. As he points out in his post, this newer version of Chromium gives you access to most of the apps and extensions in the Chrome Web Store, including the Espruino Chrome App so you can programme that little device direct from the Pi. Read the instructions here.