Go to advanced search

by chipxx
Fri Sep 27, 2019 8:00 pm
Forum: Python
Topic: Abnormal flashing with leds
Replies: 6
Views: 275

Re: Abnormal flashing with leds

Great! I disabled 1-wire and it works great! Thank you so much!
See you next time
By
chipxx :P
by chipxx
Fri Sep 27, 2019 7:51 pm
Forum: Python
Topic: Abnormal flashing with leds
Replies: 6
Views: 275

Re: Abnormal flashing with leds

I modified the code just like you suggested
and the result is that it printed from 0 to 9 but only flashed 3 times...

Now I change 1-wire from configuration
by chipxx
Fri Sep 27, 2019 7:30 pm
Forum: Python
Topic: Abnormal flashing with leds
Replies: 6
Views: 275

Re: Abnormal flashing with leds

Yes,GPIO 4 (pin 7).
Once it flashes 2 times, another 4 times etc.
Very strange behavior.

One wire for the ground (pin 6) and the other GPIO 4 (pin 7).
by chipxx
Fri Sep 27, 2019 12:36 pm
Forum: Italiano
Topic: Launcher programma
Replies: 0
Views: 1561

Launcher programma

Ciao, c'è un modo per lanciare un programma all'avvio del raspbeery quando lo accendi? In pratica come arduino.
Io ho un raspberry pi zero w.
Grazie
by chipxx
Fri Sep 27, 2019 7:49 am
Forum: Python
Topic: Abnormal flashing with leds
Replies: 6
Views: 275

Abnormal flashing with leds

Hi, I tried this code and what I do not understand is that it flashes only 4 times, yet the cycle is 10. What can it be? Thank you chipxx :cry: import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BOARD) GPIO.setup(7,GPIO.OUT) for i in range(0,10): GPIO.output(7,True) time.sleep(1) GPIO.output(7,Fa...

Go to advanced search