Code: Select all
[email protected]:~ $ /etc/init.d/radio
numid=3,iface=MIXER,name='PCM Playback Route'
; type=INTEGER,access=rw------,values=1,min=0,max=2,step=0
: values=1
File "/home/pi/radio.py", line 10
[email protected]:~$ /etc/init.d/radio
^
IndentationError: expected an indented block
I'm curious if the following runs at the command line:ConradG13 wrote:Now the only error I am receiving is
Code: Select all
[email protected]:~ $ /etc/init.d/radio numid=3,iface=MIXER,name='PCM Playback Route' ; type=INTEGER,access=rw------,values=1,min=0,max=2,step=0 : values=1 File "/home/pi/radio.py", line 10 [email protected]:~$ /etc/init.d/radio ^ IndentationError: expected an indented block
Code: Select all
if GPIO.input(23)==1:
[email protected]:~ $ /etc/init.d/radio