Top

rstem module

#
# Copyright (c) 2014, Scott Silver Labs, LLC.
#
# Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
#
# 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.
#
    
from . import button
from . import gpio
from . import led_matrix
from . import accel
from . import sound

Sub-modules

rstem.accel

This module provides interfaces to the Accelerometer RaspberrySTEM Cell. The Accelerometer allows a program to detemine which way the RaspberrySTEM is tilted and/or moving.

rstem.button

This module provides interfaces to the buttons in the I/O RaspberrySTEM Cell.

rstem.gpio

This module provides interfaces to GPIOs - useful for the lighting LEDs in the I/O RaspberrySTEM Cell, and other RaspberrySTEM Cells.

rstem.led_matrix

This module provides interfaces to the LED Matrix RaspberrySTEM Cell.

rstem.sound

This module provides interfaces to the RaspberrySTEM CREATOR Kit speaker.

Additionally, it can be used for any audio out over the analog audio jack.