Skip to content

Getting Started

Mr. James edited this page Sep 9, 2020 · 6 revisions

Getting Started

labeled image of cutebot

Installation

Follow Adafruit's CLUE Overview instructions under CircuitPython on CLUE. During the installation process, you will download the latest library bundle and transfer several libraries to the CLUE. Transfer them and the dependencies listed in the repository's README.md file. Download this repository and copy jisforjt_cutebot_clue.mpy on to your CIRCUITPY drive. The .mpy version of the files uses a fraction of the memory and is the recommended format.

Importing

The Cutebot has a variety of features that complement the CLUE board. This wiki will help you learn how to use them using the cutebot.py library. When you want to use CLUE's features, access them by importing clue from cutebot and clue as shown below:

from jisforjt_cutebot_clue import cutebot, clue

Why, you might ask?

The clock setting for the i2c or IIC connection that Cutebot and CLUE use to talk is too fast normally for Cutebot. The CLUE's i2c clock speed has been slowed down to a quarter of its normal speed. Unfortunately, there isn't an easy way to do this outside of the adafruit_clue library. A copy of the adafruit_clue library has been made and is assessable through the cutebot library. The touch features in this version of adafruit_clue library have been disabled because we use those pins for some of Cutebot's features.

Learning to use the cutebot Library

There are a variety of functions you can use to access Cutebot's features. These functions are broken up into groups.

Clone this wiki locally