Section One BBS

Welcome, Guest.


Subject: Re: Python Date: Mon Dec 10 2018 11:37 am
From: Mortifis To: Minex

 >   Re: Python
 >   By: Mortifis to All on Sun Dec 09 2018 01:40 pm

 >  > Anyone into Python?  I have a few questions relating to nested loops

 > Ask away.  I'm curious what your question is.

My question is about indentation and nested loops ... seems at times I get
syntax error as well (x += 1) .  I can paste the code if you are a good reader
:-P  the code I pasted to Nightfox works except that it does loop through the
while x < cycle:  as a main counter.

What is need is a counter so that the GPIO pins blink only for the length of an
mp3 then automagically shutdown when the song is over

In the code I pasted to Nightfox the lights blink until ^C is hit

---
 ■ Synchronet ■ The Empty Keg BBS emptykeg.synchro.net:82 Lake Echo NS Canada

Previous Message       Next Message
In Reply To: Python (Minex)
Replies: Re: Python (echicken)