Go to advanced search

by mr_bub
Sun Jun 30, 2019 3:28 pm
Forum: Troubleshooting
Topic: Trouble Getting HDMI Output From RPi4
Replies: 50
Views: 7219

Re: Trouble Getting HDMI Output From RPi4

Exactly the same issue here. Had to buy new hdmi cables due to the size of the connectors and now monitor says “ No Signal from Current Input”. Very annoying as I already had to wait for cables abs now I still have nothing. All of my other Pis work fine - new version clearly poorly thought out in re...
by mr_bub
Sun Jul 26, 2015 6:42 pm
Forum: Python
Topic: Help with world's simplest python code
Replies: 19
Views: 2693

Re: Help with world's simplest python code

Fair enough. Anyway, the help I received in this forum was invaluable given that it was my first venture into Python. The code just about works now and is a great basis for learning other things.

Regards.
by mr_bub
Sun Jul 26, 2015 4:40 pm
Forum: Python
Topic: Help with world's simplest python code
Replies: 19
Views: 2693

Re: Help with world's simplest python code

Hi Kusti8, Thanks for your reply and your earlier help enabled me to get it all working so BIG thanks for that too. All I said about spaces was that I found it strange that Python was so particular. Unfortunately a number of other people seemed to use that as an opportunity to criticise what I'd sai...
by mr_bub
Sat Jul 25, 2015 7:26 pm
Forum: Python
Topic: Help with world's simplest python code
Replies: 19
Views: 2693

Re: Help with world's simplest python code

Hi,

Yes, I understand that the indent it critical; however it does seem a bit odd for the syntax to rely on something which the programmer can't actually see.

That's just the way it is though so I'll do my level best to learn / understand it.

Regards, S.
by mr_bub
Sat Jul 25, 2015 6:08 pm
Forum: Python
Topic: Help with world's simplest python code
Replies: 19
Views: 2693

Re: Help with world's simplest python code

Yes, what's that indentation stuff all about.

Seems like overkill to me, does it really matter?

It's very sensitive about those spaces in the indent, vba doesn't care at all and I manage to produce nice looking code for that without being forced to do so.

:P
by mr_bub
Sat Jul 25, 2015 2:39 pm
Forum: Python
Topic: Help with world's simplest python code
Replies: 19
Views: 2693

Re: Help with world's simplest python code

Ahha. I used python3 and made all of the print statements have ( ) around them. That fixed the first issue. I couldn't fix the time.sleep error so I've deleted it for now. No idea how to fix that one. Then moved the definition of the pinlist to above the pinlist loop - which fixed the other one. Onc...
by mr_bub
Sat Jul 25, 2015 2:26 pm
Forum: Python
Topic: Help with world's simplest python code
Replies: 19
Views: 2693

Re: Help with world's simplest python code

Awesome. Thank you. I'm getting an error when I run it though. This will, of course, be something I'm doing wrong at this end. Screen Shot 2015-07-25 at 15.23.27.png I'm running it like this from the command line :- sudo python monster.py I tried using sudo python3 monster.py but it gave a different...
by mr_bub
Sat Jul 25, 2015 1:58 pm
Forum: Python
Topic: Help with world's simplest python code
Replies: 19
Views: 2693

Re: Help with world's simplest python code

OMG. I can't even post correctly. What a newbie. You'd never guess that I'd been using computers since my first Vic-20 in 1980. I think I made the indentation even worse trying to post it !
by mr_bub
Sat Jul 25, 2015 1:50 pm
Forum: Python
Topic: Help with world's simplest python code
Replies: 19
Views: 2693

Re: Help with world's simplest python code

Hi there, Thank you for your reply. I've been playing with the code and mucked up the indents I think as it won't run at all now. I grabbed this from google via various sources and just edited it together, so it's not my work. Obviously. :lol: This was working fine before I put the relay code in :- ...
by mr_bub
Sat Jul 25, 2015 10:53 am
Forum: Python
Topic: Help with world's simplest python code
Replies: 19
Views: 2693

Help with world's simplest python code

Greetings Pythoners, Loving a bit of DIY I recently took up the challenge of building a Halloween Monster-in-a-Box for the kids this year. Being a bit of a VBA geek in Excel I thought i'd quickly knock up something in python (after all it looks pretty simple) and use my RPi to control the thing. Thi...

Go to advanced search