Go to advanced search

by btcg2807
Wed Sep 18, 2019 4:20 am
Forum: Python
Topic: Change in logic in sensor not breaking 'while' loop?
Replies: 3
Views: 228

Change in logic in sensor not breaking 'while' loop?

Hello, I am currently a beginner at Python coding thus I apologise if there is a basic/obvious solution to this. I want to code a program that runs 2 motors forwards simultaneously for 3 seconds, then backwards for 3 seconds. In addition, I've added a photoelectric sensor (WT160-F172) that will act ...

Go to advanced search