No commit activity in last 3 years
No release in over 3 years
A Humble RPi plugin to generate a buzzing sound using a piezo elements drum disc sounder.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.1.0, ~> 0.1
 Project Readme

Introducing the Humble_RPi-plugin-piezoelements gem

Testing the plugin

require 'humble_rpi-plugin-piezoelements'


rpi = HumbleRPiPluginPiezoElements.new(settings: {pin: 4}, variables: {})
rpi.start
rpi.on_piezoelements_message 'buzz'

Using the plugin with the Humble RPi gem

require 'humble_rpi'
require 'humble_rpi-plugin-piezoelements'

r = HumbleRPi.new device_name: 'sol', sps_address: '192.168.4.140',\
  plugins: {PiezoElements: {pin: 4} }
r.start

Resources

buzzer gem piezo humblerpipluginpiezoelements plugin