File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ class FruitJam:
3636 def __init__ (self ):
3737 self .peripherals = Peripherals ()
3838
39-
4039 @property
4140 def neopixels (self ):
4241 return self .peripherals .neopixels
Original file line number Diff line number Diff line change 2626
2727"""
2828
29+ import adafruit_tlv320
2930import audiobusio
3031import board
3132import displayio
3435import supervisor
3536from digitalio import DigitalInOut , Direction , Pull
3637from neopixel import NeoPixel
37- import adafruit_tlv320
3838
3939__version__ = "0.0.0+auto.0"
4040__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_FruitJam.git"
@@ -88,6 +88,7 @@ class Peripherals:
8888 neopixels (NeoPxiels): The NeoPixels on the Fruit Jam board.
8989 See https://circuitpython.readthedocs.io/projects/neopixel/en/latest/api.html
9090 """
91+
9192 def __init__ (self ):
9293 self .neopixels = NeoPixel (board .NEOPIXEL , 5 )
9394
Original file line number Diff line number Diff line change 11# SPDX-FileCopyrightText: Copyright (c) 2025 Tim Cocks for Adafruit Industries
22#
33# SPDX-License-Identifier: MIT
4+ import time
5+
46import displayio
57import supervisor
68from audiocore import WaveFile
7- import time
89
910from adafruit_fruitjam import FruitJam
1011
11-
12- colors = [0xff00ff , 0xffff00 , 0x00ff00 ]
12+ colors = [0xFF00FF , 0xFFFF00 , 0x00FF00 ]
1313
1414fruitjam = FruitJam ()
1515fruitjam .neopixels .brightness = 0.1
16- fruitjam .neopixels .fill (0xff00ff )
16+ fruitjam .neopixels .fill (0xFF00FF )
1717
1818time .sleep (2 )
1919fruitjam .neopixels .fill (0x000000 )
You can’t perform that action at this time.
0 commit comments