Skip to content

Latest commit

 

History

History
69 lines (48 loc) · 1.99 KB

README.md

File metadata and controls

69 lines (48 loc) · 1.99 KB

NanoPlayBoard-Python-Library

A Python Library for NanoPlayBoard Firmata. Using this library you can interact with your NanoPlayBoard writing Python code. It runs on Python 3.

Installation

You can install it with pip:

pip3 install nanoplayboard

Or you can also install it from source with:

python3 setup.py install

You need to have setuptools installed.

Usage

from nanoplayboard.nanoplayboard import NanoPlayBoard
board = NanoPlayBoard()
board.rgb.on()

You can take a look at the examples folder to see how it works.

Example

Very basic example about how to control the NanoPlayBoard RGB led using the Python library.

rgb

Credits

NanoPyMataCore class is based on:

License

Copyright 2016 Antonio Morales and José Juan Sánchez

Licensed under the GNU General Public License, Version 3 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.gnu.org/licenses/gpl-3.0.en.html

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.