Code Language SPIN

Simultaneous pin group control

Introduction The Propeller native SPIN language includes many efficient instructions to solve common programming tasks. For example, how to switch a group of IO pins simultaneously with a single instruction ? Here’s an example using just two lines of code…

Handy Diagnostic Heartbeat

Introduction Each of the multicore Propeller 1’s eight processors (cogs) has two independent hardware counter modules. Each counter is a configurable state machine for sensing or generating repetitive signals, potentially on every clock cycle. The counter modules are flexible subsystems…

Keep any value in range

Introduction The Propeller native SPIN and SPIN2 languages include many efficient instructions to solve common programming tasks. For example, how to keep a value between a certain range of allowed values? Here’s an example using just one line of code!…