mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 09:21:12 +03:00
Speaker: Removed grove dependency
* Renamed all files from grovespeaker to speaker * Replaced all instances of grovespeaker with speaker * Updated all CMake files
This commit is contained in:

committed by
Noel Eck

parent
c759932ee6
commit
982065a7b7
@ -22,10 +22,10 @@
|
||||
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
import time, sys, signal, atexit
|
||||
import pyupm_grovespeaker as upmGrovespeaker
|
||||
import pyupm_speaker as upmspeaker
|
||||
|
||||
# Instantiate a Grove Speaker on digital pin D2
|
||||
mySpeaker = upmGrovespeaker.GroveSpeaker(2)
|
||||
# Instantiate a Speaker on digital pin D2
|
||||
mySpeaker = upmspeaker.Speaker(2)
|
||||
|
||||
# Play all 7 of the lowest notes
|
||||
mySpeaker.playAll()
|
Reference in New Issue
Block a user