Hi,
The next meeting is one week tonight on Tuesday, 2019-07-02 20:00 at the
Bournemouth Electric Club. See:
http://dorset.lug.org.uk/wiki/doku.php?id=meetings:pub#bournemouth_electric
Paul, Hamish,
Are you going?
--
Terry Coles
--
Next meeting: BEC, Bournemouth, T
And the GPIO clean-up is after that definition, just before you decide
to hand control over to Flask by calling app.run().
GPIO.cleanup()
if __name__ == '__main__':
app.run(debug=True, host='0.0.0.0')
You're cleaning up the GPIO before Flask gets to run and that probably
undoes all you
Hi Peter,
> This quite long because the guy that wrote it documented every step.
And because this chunk in the middle is repeated. :-)
> frequency_hertz = 50
> pwm = GPIO.PWM(pin_number, frequency_hertz)
>
>
> # How to position a servo? All servos are pretty much the same.
> # Send repeated pu
This is to do with driving an R/C Servo from a Raspberry Pi. I have this
working with motors driving my car, but this takes two pins at opposing
polarities for change of direction. An R/C servo works differently: Instead of
two wires of opposite polarity for the motor direction there is only o
4 matches
Mail list logo