Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3937

Troubleshooting • Re: Sensor pin irq callback doesn't work when dc motor is running

$
0
0
If you're going to post python you must use [code][/code] tags.

They make the difference between:

if code-tags == "used":
print ("python is formatted")
else:
print ("python loses it's whitespace")

And:

Code:

if code-tags == "used":  print ("python is formatted")else:  print ("python loses it's whitespace")

Statistics: Posted by DougieLawson — Sat Mar 29, 2025 12:03 am



Viewing all articles
Browse latest Browse all 3937

Trending Articles