Looking for PIGPIO pulse code & monitor on PISCOPE - Raspberry Pi Forums


hi all,

i'm after simple code can run using pigpio library send stream of regular pulses gpio , piscope display what's on gpio.

sounds simple wanting build bit of foundation before getting more detailed gpio signalling.
i'm happy hear of useful external sites well.
thanks!!!

there variety of ways command line.

pigs p 4 1500 # servo pulses @ 50 hz each 1500 micros long

pigs p 4 128 # pwm pulses @ 800 hz 128/255 duty cycle

man pigs # help

see hc (hardware clock) , hp (hardware pwm)

more sophisticated control use waves, e.g. try following commands

pigs m 4 w m 5 w # set 4 , 5 outputs.
pigs wvag 16 32 100 32 16 200 16 0 300 32 0 400
pigs wvcre
pigs wvtxr 0


raspberrypi



Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code