#!/usr/bin/env python
import RPi.GPIO as GPIO
import time
promena=3
GPIO.setmode(GPIO.BCM)
GPIO.setup(4, GPIO.OUT)
while True:
try:
time.sleep(1)
if i == 1:
GPIO.output(4, False)
else:
GPIO.output(4, True)
hlásí to chybu
./test.py
File "./test.py", line 18
^
IndentationError: unexpected unindent
vůbec nemohu najit co to je kdyz ten radek ani neexistuje :-( děkuji
_______________________________________________
Python mailing list
[email protected]
http://www.py.cz/mailman/listinfo/python
Visit: http://www.py.cz