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

Python • Re: Python Program Adaptation

$
0
0
gpiozero has the DistanceSensor (HC-SR04) class built in, so the function in the script get_distance() could be replaced and the microsecond timing will not be not needed. It also has motor and servo classes, so it should be doable.

Statistics: Posted by neilgl — Wed Mar 06, 2024 5:17 pm



Viewing all articles
Browse latest Browse all 4906

Trending Articles