spin equivalent to arduino pulsin
BenDeLathouwer
Posts: 11
in Propeller 1
Dear forum users
Is ther a spin equivalent to the arduino comand pulsin?
With best regards Ben
Is ther a spin equivalent to the arduino comand pulsin?
With best regards Ben
Comments
Note that this method doesn't have any tuning for command overhead. The great thing about the Propeller is that you could use another cog to create precision pulses on a pin, then use this method is a second cog to measure them to determine a tuning constant.
In my own programs I use this header (mod of something someone posted in these forums) to create compile-time constants for clock frequency, and ticks in milliseconds and microseconds.