fixing import order for audio
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
# it will then play the audio back to the user from memory
|
# it will then play the audio back to the user from memory
|
||||||
|
|
||||||
import apa102
|
import apa102
|
||||||
import audio
|
|
||||||
import RPi.GPIO as GPIO
|
import RPi.GPIO as GPIO
|
||||||
|
|
||||||
# importing sys
|
# importing sys
|
||||||
@@ -10,6 +9,8 @@ import sys
|
|||||||
# adding Folder_2/subfolder to the system path
|
# adding Folder_2/subfolder to the system path
|
||||||
sys.path.insert(0, '/home/talksik/rpi-random-projects/audio')
|
sys.path.insert(0, '/home/talksik/rpi-random-projects/audio')
|
||||||
|
|
||||||
|
import audio
|
||||||
|
|
||||||
|
|
||||||
BUTTON = 17
|
BUTTON = 17
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user